Reputation: 395
I am using tess-two Tesseract Android Tools for my project. From the research I've done I found from here a way to limit the types of characters, but not the range of characters.
The Tess-Two library I am using doesn't have a tessdata/config file, so how can I limit the possible characters tesseract recognises?
How can I limit Tesseract to recognise a range of digits (20 to 30)?
Upvotes: 4
Views: 515
Reputation: 46
If you are using your digits are in an image and the image is clear you can use the following command "tesseract imageName outputFileName.txt outputbase digits" but if the image is not clear you will need to process it or you will not have the exact result. Hope this will help you.
Upvotes: 1