Android OCR detecting digits only using popular tessercat fork tess-two
I'm using the popular OCR tessercat fork for android tess-two https://github.com/rmtheis/tess-two . I integrated all the staff and it works etc... But I need to detect only digits, my code for now is: TessBaseAPI baseApi = new TessBaseAPI(); baseApi.init(pathToLngFile, langName); baseApi.setImage(bitmap); String recognizedText = baseApi.getUTF8Text(); baseApi.end(); doSomething(recognizedText); From here https://code.google.com/p/tesseract-ocr/wiki/FAQ#How_do_I_recognize_only_digits ? I'm using version V3, and there ain't code solution instead some command line solution - not relevant for