New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tessedit_char_blacklist
is not a valid type, but seems to be working
#831
Comments
There are hundreds of Tesseract parameters, and the vast majority are not defined in the type file. I agree this is an issue as it is annoying to get warnings/errors when you have done nothing wrong. I do not believe that maintaining a list of all possible parameters is within the scope of this project (as Tesseract is constantly adding and removing options, and half of them don't function as described), so I think the solution here is to edit the types to accept any object with name/value pairs and not check the exact parameters being set |
I resolved in #845 by (1) adding |
Just saw that, thanks! |
Tesseract.js version (version number for npm/GitHub release, or specific commit for repo)
v5.0.0
Describe the bug
To Reproduce
Run the script below using the attached image below
Expected behavior
If blacklist is active, the result is
If not, the result is
Device Version:
The text was updated successfully, but these errors were encountered: