-1

I have got the Libraries for Number Recognition i.e tesseract
But i dont know how to use the DLLs with JAVA.

ThiefMaster
  • 310,957
  • 84
  • 592
  • 636
Azuu
  • 836
  • 2
  • 16
  • 32
  • 1
    You need a library with java interface, try to look here: http://stackoverflow.com/questions/1813881/java-ocr-implementation – dbf May 07 '12 at 08:32
  • 1
    Please provide more details about what you want to achieve and what you have tried so far. If you present a _specific_ problem, you're more likely to get help. – Eli Acherkan May 07 '12 at 08:34
  • I m trying remove characters and number from image. And i m at starting phase of my project.. – Azuu May 07 '12 at 12:11

2 Answers2

3

There is a Java JNA wrapper for Tesseract DLL that you can use: Tess4J

Be sure to call TessBaseAPI::SetVariable("tessedit_char_whitelist", "0123456789"); if you want to recognize only digits.

nguyenq
  • 8,212
  • 1
  • 16
  • 16
0

You either need to use or run the external process from Java. Have a look at Issue 302: how to run tesseract-ocr in java application at Linux platform. Specifically check tesjeract.

Tomasz Nurkiewicz
  • 334,321
  • 69
  • 703
  • 674