# OCR Plugin

**URL:** https://discuss.elastic.co/t/ocr-plugin/7223
**Category:** Elasticsearch
**Created:** [April 4, 2012, 8:20am UTC](https://discuss.elastic.co/t/ocr-plugin/7223 "2012-04-04T08:20:06Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [April 4, 2012, 8:20am UTC](https://discuss.elastic.co/t/ocr-plugin/7223/1 "2012-04-04T08:20:06Z")

</div>

Hi there,

Does anyone knows a nice OCR java library that I may use to add the OCR  
feature [1] to the attachment plugin ?

Thanks

[1]

> <https://github.com/elastic/elasticsearch-mapper-attachments/issues/10>

  
[https://github.com/elasticsearch/elasticsearch-mapper-attachments/issues/10](https://github.com/elasticsearch/elasticsearch-mapper-attachments/issues/10)

--  
David Pilato  
[http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
Twitter : @dadoonet

---

<div class="post-metadata">

### Author: ![Alexander\_Reelsen](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@Alexander\_Reelsen](https://discuss.elastic.co/u/Alexander_Reelsen)
#### Post date: [April 4, 2012, 8:51am UTC](https://discuss.elastic.co/t/ocr-plugin/7223/2 "2012-04-04T08:51:58Z")

</div>

Hi David

On 4 Apr., 10:20, "[da...@pilato.fr](mailto:da...@pilato.fr)" [da...@pilato.fr](mailto:da...@pilato.fr) wrote:

> Does anyone knows a nice OCR java library that I may use to add the OCR  
> feature [1] to the attachment plugin ?  
> I searched for the same some time ago, but didnt come up with anything  
> useful (free, there seem to be some commercial ones which are ok/  
> good).  
> In Open Source world, there is Tesseract possibly (however this is a  
> binary, and you would have to spawn a process)

Keep me posted about progress in case you find something cool, I need  
this for my home paperwork (I never find stuff when I search for in  
real life 🙂

--Alexander

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [April 4, 2012, 9:19am UTC](https://discuss.elastic.co/t/ocr-plugin/7223/3 "2012-04-04T09:19:56Z")

</div>

Thanks Alexander.

At this time : 0 answer from twitter, 1 from facebook :  
[http://asprise.com/](http://asprise.com/) [http://asprise.com/home/](http://asprise.com/home/)

I will dig into it to see if it could fit to my needs.

Keep in touch  
David.

Le 4 avril 2012 à 10:51, Alexander Reelsen  
[alexander.reelsen@googlemail.com](mailto:alexander.reelsen@googlemail.com) a écrit :

> Hi David
> 
> On 4 Apr., 10:20, "[da...@pilato.fr](mailto:da...@pilato.fr)" [da...@pilato.fr](mailto:da...@pilato.fr) wrote:
> 
> > Does anyone knows a nice OCR java library that I may use to add the OCR  
> > feature [1] to the attachment plugin ?  
> > I searched for the same some time ago, but didnt come up with anything  
> > useful (free, there seem to be some commercial ones which are ok/  
> > good).  
> > In Open Source world, there is Tesseract possibly (however this is a  
> > binary, and you would have to spawn a process)
> 
> Keep me posted about progress in case you find something cool, I need  
> this for my home paperwork (I never find stuff when I search for in  
> real life 🙂
> 
> --Alexander

--  
David Pilato  
[http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
Twitter : @dadoonet

---

<div class="post-metadata">

### Author: ![Thomas\_Peuss](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@Thomas\_Peuss](https://discuss.elastic.co/u/Thomas_Peuss)
#### Post date: [April 4, 2012, 10:54am UTC](https://discuss.elastic.co/t/ocr-plugin/7223/4 "2012-04-04T10:54:26Z")

</div>

Hi David!

Am Mittwoch, 4. April 2012 10:20:06 UTC+2 schrieb David Pilato:

> Does anyone knows a nice OCR java library that I may use to add the OCR  
> feature [1] to the attachment plugin ?

Here is a list from Ubuntu:  
[https://help.ubuntu.com/community/OCR](https://help.ubuntu.com/community/OCR)

When it comes to Java:

> **[Java OCR - Ron Cemer's Blog](https://roncemer.com/software-development/java-ocr/)**
>
> Several years back, I was working on an imaging project in Java which was going to require some Optical Character Recognition (OCR) functionality. After an exhaustive search, I could find nothing to fit the bill. My requirements were: Must be written...

The Java project is not very active though...

CU  
Thomas

---

<div class="post-metadata">

### Author: ![Shairon\_Toledo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shairon_toledo/32/2490_2.png) [@Shairon\_Toledo](https://discuss.elastic.co/u/Shairon_Toledo)
#### Post date: [April 4, 2012, 11:34am UTC](https://discuss.elastic.co/t/ocr-plugin/7223/5 "2012-04-04T11:34:12Z")

</div>

Here is a good post about OCR analysis  
[http://stackoverflow.com/questions/971344/java-based-ocr-sdk-api](http://stackoverflow.com/questions/971344/java-based-ocr-sdk-api)

However, I dont think that OCR in ES side is a good approach, OCRs consume  
a lot of resource maybe you will create a bottleneck in ES node. Some of  
those OCRs get in deep in embed images, probably will be more expensive for  
the machine.

On Wed, Apr 4, 2012 at 7:54 AM, Thomas Peuss [thomas.peuss@nterra.com](mailto:thomas.peuss@nterra.com)wrote:

> Hi David!
> 
> Am Mittwoch, 4. April 2012 10:20:06 UTC+2 schrieb David Pilato:
> 
> > Does anyone knows a nice OCR java library that I may use to add the OCR  
> > feature [1] to the attachment plugin ?
> 
> Here is a list from Ubuntu:  
> [OCR - Community Help Wiki](https://help.ubuntu.com/community/OCR)
> 
> When it comes to Java:  
> [Java OCR - Ron Cemer's Blog](http://www.roncemer.com/software-development/java-ocr)
> 
> The Java project is not very active though...
> 
> CU  
> Thomas

--

Shairon Toledo

> **[Microsoft Developer News | C++,C# & .NET Framework & More | CodeGuru](http://hashcode.me)**
>
> 您是否想要找关于幸运飞行艇 官方开奖历史记录 168飞艇全国统一开奖数据 还有幸运飞行艇官方开奖现场直播 幸运168飞艇全天精准稳定计划 这里都能一一提供。CodeGuru is where developers come to share ideas, articles, questions, answers, tips, tricks, comments, downloads, and more related to programming in areas including C++,...

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [April 4, 2012, 10:21pm UTC](https://discuss.elastic.co/t/ocr-plugin/7223/6 "2012-04-04T22:21:24Z")

</div>

Thanks to all. I think that the best answer is :  
[http://www.roncemer.com/software-development/java-ocr](http://www.roncemer.com/software-development/java-ocr)

FYI, there is one OCR in the cloud : [http://ocrsdk.com/plans-and-pricing/](http://ocrsdk.com/plans-and-pricing/)  
with a Java client : [https://github.com/abbyysdk/ocrsdk.com/tree/master/Java](https://github.com/abbyysdk/ocrsdk.com/tree/master/Java)

I agree for the bottleneck. Although it could fit to some use cases.

David

De : [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com) [[mailto:elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)]  
De la part de Shairon Toledo  
Envoyé : mercredi 4 avril 2012 13:34  
À : [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)  
Cc : david@pilato.fr  
Objet : Re: OCR Plugin

Here is a good post about OCR analysis  
[http://stackoverflow.com/questions/971344/java-based-ocr-sdk-api](http://stackoverflow.com/questions/971344/java-based-ocr-sdk-api)

However, I dont think that OCR in ES side is a good approach, OCRs consume a  
lot of resource maybe you will create a bottleneck in ES node. Some of those  
OCRs get in deep in embed images, probably will be more expensive for the  
machine.

On Wed, Apr 4, 2012 at 7:54 AM, Thomas Peuss [thomas.peuss@nterra.com](mailto:thomas.peuss@nterra.com)  
wrote:

Hi David!

Am Mittwoch, 4. April 2012 10:20:06 UTC+2 schrieb David Pilato:

Does anyone knows a nice OCR java library that I may use to add the OCR  
feature [1] to the attachment plugin ?

Here is a list from Ubuntu:  
[https://help.ubuntu.com/community/OCR](https://help.ubuntu.com/community/OCR)

When it comes to Java:  
[http://www.roncemer.com/software-development/java-ocr](http://www.roncemer.com/software-development/java-ocr)

The Java project is not very active though...

CU  
Thomas

--

Shairon Toledo  
[http://hashcode.me](http://hashcode.me)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 3:33am UTC](https://discuss.elastic.co/t/ocr-plugin/7223/7 "2017-07-06T03:33:31Z")

</div>


