-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Image too small to scale!! (2x36 vs min width of 3) #796
Comments
Please describe when you've encountered this issue and how to replicate. Both issues you've linked state that this issue occurs when running a bash script to generate new training data, which is not something we support in Tesseract.js. Additionally, these issues indicate the problem was already solved in early 2021. |
I use tesseract.min.js, in GTA5 third party application called FiveM, to detect some text on the screen. |
Using the base 64 string you provided, I was able to replicate Tesseract.js printing this message.
That being said, I do not believe this message being printed indicates a bug in Tesseract.js. Tesseract.js did not crash and recognition appeared to run as expected. As the message itself was produced by Tesseract (not Tesseract.js-specific code), editing the underlying code is outside of the scope of this project. Tesseract.js is intended to port Tesseract to run with JavaScript--we do not make changes to the Tesseract recognition engine. If you believe you found a bug with Tesseract, you should replicate using the main project and then report there. If the core issue is simply that you are annoyed by messages from Tesseract being printed to the console, you can change this behavior by setting
|
Thank you very much, but I have one last question. If I set the debug to true or false it doesn't change anything (it still spammed my console). |
@Melmacker
|
Thank you verry much. Now I got it 😅 |
Tesseract.js version (version number for npm/GitHub release, or specific commit for repo)
npm, tesseract.min.js, version 4.1.1
These people have already done it, and they have done it better than I could ever describe:
tesseract-ocr/tesseract#3001
tesseract-ocr/tesseract#2890
The text was updated successfully, but these errors were encountered: