Closed faber5594 closed 6 years ago
Did you run the install.py script. It will download tesseract for you and also tell you where to download the tesseract program, that or you don't' have a folder named tmp.
@will7200 Yes I downladed Tesseract and I have the folder tmp, is it maybe a problem of where I have the folder bot, should I update this string with my path User/bot/.../tmp?
@will7200 wait should it be "tmp\ocr.txt" or "tmp\ocr.png"? cause in the tmp folder I just have a picture
@faber5594 there should be a ocr.png that needs to translate from image to txt. You are missing the tmp\ocr.txt. Look at #21 for reference as they had the same issue. Can you try running the command down below and give me the output?
bin\tess\tesseract.exe --tessdata-dir bin\tess\tessdata tmp\ocr.png tmp\ocr -c tessedit_char_whitelist=ABCDEFGHIJKLMNOPQRSTUVWXYZ -psm 7> nul 2>&1
@will7200 should I run it from the shell right? If so this is the result bash: bintesstesseract.exe: command not found
@faber5594 tesseract wasn't installed properly you should be able to find the tesseract exe in the folder bin\tess\ directory
Resolved in #41 per @faber5594
here the scan![immagine](https://user-images.githubusercontent.com/35998149/35642312-0da6eb2a-06c3-11e8-9117-070d8434d6fe.jpg)