Closed ajinkyapote1 closed 9 years ago
You don't need to re-train. Set the whitelist to "0123456789".
Thanks,
I set the both the "VAR_CHAR_WHITELIST" and "VAR_CHAR_BLACKLIST" to "0123456789" in TessBaseAPI class, but it is still scanning the letters. Please Help me.
Don't set a value for the blacklist.
Even if i am setting only "VAR_CHAR_WHITELIST" to "0123456789", it is scanning the numbers. Please help me to scan numbers only.
Take a look at how it's being set in this project. [1] Note that the setVariable() call comes before setImage() is called. If you still have questions, ask a question on StackOverflow and include the code you're using.
Hi,
How can i train the tess-two to recgnize only numbers?
Thanks in advance.