Closed JDoe21 closed 6 years ago
try reinstalling tesseract by executing npm install nodecr
, if it doesn't work verify that tesseract is in the PATH field of your environment variables (Open Control Panel » System » Advanced » Environment Variables)
Don't forget to tell me if it fixed the problem so I can close the issue 😄
yeah fixed ty
no, you just add the path to PATH, so you modify PATH, you add a ; at the end of the PATH, and then the tesseract path without the file ( not your/path/tesseract.exe but your/path/)
PS C:\Users\M\Downloads\HQ-Trivia-Bot-master\HQ-Trivia-Bot-master> node bot.js Screenshot done Answers resized node-tesseract: Running 'tesseract answers.jpg C:\Users\M\AppData\Local\Temp\tmp-7636ymymjBsOSTW9' node-tesseract: Preprocessor cleanup { Error: Command failed: tesseract answers.jpg C:\Users\M\AppData\Local\Temp\tmp-7636ymymjBsOSTW9 Der Befehl "tesseract" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
killed: false, code: 1, signal: null, cmd: 'tesseract answers.jpg C:\Users\M\AppData\Local\Temp\tmp-7636ymymjBsOSTW9' }