• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Reading text from Image file using OCR

 
Ranch Hand
Posts: 300
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to read the jpg file with OCr but it reads only first character. I found its possible to extract the text from the image file so i am trying the same. I really need help.
Althoug i am able to extract the only first character.




I have attached the image for your reference.

Regards
Jatan
Test.jpg
[Thumbnail for Test.jpg]
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Aspose is a commercial product, if I'm not mistaken. While there's nothing wrong with asking about it here, you can probably get help faster on their support forums or mailing list.
 
jatan bhavsar
Ranch Hand
Posts: 300
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ulf,

Thank you for quick reply .. Can you give me name some of the free tool for this. I downloaded the trial version and not planning to purchase.

Regards
Jatan
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The only free OCR library that I'm aware of which has a Java API and is free is Tesseract. A Google search for the obvious terms may find more.
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:The only free OCR library that I'm aware of which has a Java API and is free is Tesseract. A Google search for the obvious terms may find more.


in abov code how can i import all library in my program
 
ram mane
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible that read text from an image without using any third party APIs?
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

in abov code how can i import all library in my program


I don't understand what you're asking; can you rephrase it while also providing more detail?

Is it possible that read text from an image without using any third party APIs?


Sure, you can write a solution yourself. Be aware that OCR is a hard topic, and the subject of ongoing research, so be prepared to spend weeks or months on this.
 
ram mane
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can any one give me how we can use "ocr " in java or give me any example how we can extract text from image in java.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I already mentioned Tesseract and its Java API. If you have a specific question about that, then post the specific question. Be sure to mention what you have done already (code you have written, documentation you have read etc.)
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use the below code it works fine

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic