Status: New
Owner: ----
New issue 1482 by
darke...@yahoo.com: Whitelist not working on 3.02.02 for
Python
https://code.google.com/p/tesseract-ocr/issues/detail?id=1482
What steps will reproduce the problem?
1. enter the following code at beginning of python script:
import tesseract
ocr = tesseract.TessBaseAPI()
ocr.SetVariable("tessedit_char_whitelist", "0123456789;")
ocr.Init("C:\\Program Files
(x86)\\Tesseract-OCR\\","eng",tesseract.OEM_DEFAULT)
What is the expected output? What do you see instead?
It should be whitelisting those characters, but tesseract ignores it and
will grab other characters anyway. I've tried putting the SetVariable
before and after Init, but that didn't change anything.
What version of the product are you using? On what operating system?
3.02.02 on Windows 8.1
Please provide any additional information below.
I do have pytesseract/python-tesseract installed as well, if that changes
anything.
Thanks in advance for any help on this. I've been trying to fix this
problem all week without much progress.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings