Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -112,6 +112,7 @@ def ocr_lang(lang_list):
|
|
112 |
|
113 |
# ocr tesseract
|
114 |
def ocr_tesseract(img, languages):
|
|
|
115 |
ocr_str = pytesseract.image_to_string(img, lang=ocr_lang(languages))
|
116 |
return ocr_str
|
117 |
|
|
|
112 |
|
113 |
# ocr tesseract
|
114 |
def ocr_tesseract(img, languages):
|
115 |
+
print("[img]", img)
|
116 |
ocr_str = pytesseract.image_to_string(img, lang=ocr_lang(languages))
|
117 |
return ocr_str
|
118 |
|