7

enter image description here

Hi All,

As showing i have an image with fields Username & City & Work as in the image. I just want to read these Character fields value from this image with java program. If any one have any idea about this please let me know

thanks

Buntylm
  • 7,345
  • 1
  • 31
  • 51

4 Answers4

2

You can google with Java Character recognition through image and there is also good way to do this with this example. this jar you can use as for testing

  • it is good but if you publish your app then you need to purchase it. not accurate but too good as i search at all. – Buntylm Jan 16 '13 at 11:43
2

Tess4J, a Java wrapper of Tesseract engine, can recognize such images (after rescaling to 300 DPI).

nguyenq
  • 8,212
  • 1
  • 16
  • 16
  • 1
    Good one and now using this. But there is some problem with some character like @, % so any idea how can we handle this situation ? – Buntylm Jan 18 '13 at 05:53
0

You should start looking into character recognizing libraries like shown here. also, look at this question here

Community
  • 1
  • 1
Ido Weinstein
  • 1,176
  • 8
  • 24
0

To read the image you can use BufferedImage: http://docs.oracle.com/javase/tutorial/2d/images/loadimage.html

Once you have loaded the image you can run an OCR module to get its text. Here are some examples of OCR software sorted from better to worst: ABBYY (but it is not free), Tesseract, Java OCR, Asprise...

And that is all !!

arutaku
  • 5,937
  • 1
  • 24
  • 38