Hi Alejandro, thank you for your reply. Yeah i use a Windows config on a linux docker. What should i do to fix this ?
Le mar. 2 août 2022 à 12:25, Alejandro Nadal <alexandrona...@gmail.com> a écrit : > Hi > I think you are using a Windows config on a linux docker. This might be > the cause of your issue. > Let us know if this is the case. > Good luck > Alejandro > > El mar, 2 ago 2022 a las 6:57, Atef Chatty (<chattya...@gmail.com>) > escribió: > >> 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-ocr+unsubscr...@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 >> <https://groups.google.com/d/msgid/tesseract-ocr/a68c21a3-aaf9-4489-a3f2-572f7d6e0b27n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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-ocr+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/CAB1b1bhx1_2aJQbAHZu2-dSveyc9sR7AusBwcT3_GNcGCqvaxg%40mail.gmail.com > <https://groups.google.com/d/msgid/tesseract-ocr/CAB1b1bhx1_2aJQbAHZu2-dSveyc9sR7AusBwcT3_GNcGCqvaxg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAM7c0%3D5CidwfCpCJdnwY14z5jrODhNSpCfr19B2NF-mH6JLPTg%40mail.gmail.com.