I had used Tesseract (deployed in Streamlit Cloud). It worked.
But for some days, it did not work anymore.
It was blocked at
text = pytesseract.image_to_string(image)
My package.txt:
poppler-utils
tesseract-ocr
Please help.
I had used Tesseract (deployed in Streamlit Cloud). It worked.
But for some days, it did not work anymore.
It was blocked at
text = pytesseract.image_to_string(image)
My package.txt:
poppler-utils
tesseract-ocr
Please help.
Hi @HO_Tuong_Vinh,
Thanks for sharing your question with the community!
Please update your debugging post to include a code snippet and a link to your app’s public GitHub repo – this will allow the community to help you find an answer as quickly as possible. In the meantime, this post will be tagged as needs-more-info.
Hi, I noticed the same. Tesseract stopped working in Streamlit. I did some troubleshooting and found out that the script in bold, below, no longer works:
pytesseract.pytesseract.tesseract_cmd = ‘C:/Program Files (x86)/Tesseract-OCR/tesseract.exe’
response = requests.get(imagetoread)
img = Image.open(io.BytesIO(response.content))
text_img = pytesseract.image_to_string(img)
Can this be resolved ASAP?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.