1

I am developing an Android app now, it needs to recognize captcha from website.

I utilize the tess-two to recognize captcha and follow TrainingTesseract3 instructions to train my own traineddata (using jTessBoxEditor to correct characters), but it cannot recognize correctly and even cannot recognize it.

The below TIFF image is that I use to train my Tesseract, I collect many captchas and merge them into a image.

TIFF image

The image that I want to recognize

For example, the expected result of the above image should be k8666, but the actual result is only 66.

Does anyone give me a help? Thanks.

Aaron
  • 45
  • 5

1 Answers1

0

I tried your images using a .NET wrapper for tesseract-ocr Tesseract-ocr .Net Wrapper by Charliesw.

I got some better results like (K8EEE, K8656), i think you have to increase the text font and make it bold and i saved the image in tiff format with 96DPI resolution to get a better results than mine.

Ahmed GIS
  • 513
  • 4
  • 9
  • Could you tell me how to increase text font and make it bold on image in Android? – Aaron Oct 30 '15 at 13:31
  • I'm not an expert with Android but these links may help you: [How to write Text on ImageView in android coding?](http://stackoverflow.com/questions/17809801/how-to-write-text-on-imageview-in-android-coding) [How to write text on an image in Java (Android)](http://stackoverflow.com/questions/11318205/how-to-write-text-on-an-image-in-java-android) – Ahmed GIS Oct 31 '15 at 05:53