Closed Darwin1119 closed 6 years ago
Rereading the readme.md will probably fix your problem (updated it yesterday)
Still facing the same problem. What else could be the issue?
Tesseract should be recognized if it's in PATH, try restarting your PC maybe
I restarted my computer and it's still saying the same thing. I put tesseract in the user variables. is that the right one?
In your environment variables, you have normally the PATH variable, you must just add ;C:\Program Files (x86)\Tesseract-OCR;C:\Program Files (x86)\Tesseract-OCR\tessdata
to it
just added it to there and I'm getting the same thing
Can you paste here your PATH ?
Putting them in 2 lines and removing the semicolon should do it
did that and the issue persists. Could I have installed it wrong somehow?
Did you relaunched your cmd ? Because you have to restart it everytime you change your Path It's weird, check if the directory added into Path exists and if they exists then check if tesseract.exe is in one of them
C:\Program Files (x86)>cd Tesseract-OCR The system cannot find the path specified.
Install this and retry https://github.com/tesseract-ocr/tesseract/wiki/4.0-with-LSTM#400-alpha-for-windows
Got it! thank you for your help!
I am now having an issue with the cropping of the screenshots, when it crops, it seems to read both the answers and the question for the question as well as read it all for the answers
Any news ?
It's working perfectly, but Google asks it to fill out a captcha or something after 15 ish requests
I just had to play with the cropping and adjust with trial and error but its working good
Nice !
Add C:\Program Files (x86)\Tesseract-OCR to PATH, and TESSDATA_PREFIX = C:\Program Files (x86)\Tesseract-OCR\tessdata
It's worked for me.
When I run the bot, I receive an error telling me tesseract is not a recognized command. Here is what command prompt gives me.
C:\Users\landw>node bot.js Screenshot done Answers resized node-tesseract: Running 'tesseract answers.jpg C:\Users\landw\AppData\Local\Temp\tmp-15148a3kNbjtP5mlX' node-tesseract: Preprocessor cleanup { Error: Command failed: tesseract answers.jpg C:\Users\landw\AppData\Local\Temp\tmp-15148a3kNbjtP5mlX 'tesseract' is not recognized as an internal or external command, operable program or batch file.
killed: false, code: 1, signal: null, cmd: 'tesseract answers.jpg C:\Users\landw\AppData\Local\Temp\tmp-15148a3kNbjtP5mlX' }