Hi,
i write to a python code that use tesseract to extract English and German words. It works well. i tried to use it on Docker but i had this error:
Failed loading language 'eng' Tesseract couldn't load any languages! Could not initialize tesseract.
Failed loading language 'deu' Tesseract couldn't load any languages! Could not initialize tesseract.
this is what i use :
text = pytesseract.image_to_string(imm,config='--psm 11 --oem 1 --tessdata-dir "C:\Program Files\Tesseract-OCR\tessdata" ',lang='deu+eng')
in the requirments.txt i installed pytesseract and tesseract then i used this commad : RUN apt-get update && apt-get install tesseract-ocr -y
But it didnt work
Can you help me ?
--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/a68c21a3-aaf9-4489-a3f2-572f7d6e0b27n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAB1b1bhx1_2aJQbAHZu2-dSveyc9sR7AusBwcT3_GNcGCqvaxg%40mail.gmail.com.