Open wehavedog opened 6 years ago
Traceback (most recent call last): File ".\GetQuestionTessAndroid.py", line 20, in question, choices = ocr.ocr_img(img) File "G:\TopSup-master\common\ocr.py", line 76, in ocr_img question = pytesseract.image_to_string(question_im, lang='chi_sim', config=tessdata_dir_config) File "C:\Anaconda3\lib\site-packages\pytesseract\pytesseract.py", line 125, in image_to_string raise TesseractError(status, errors) pytesseract.pytesseract.TesseractError: (1, 'Error opening data file G:\Tesseract-OCR\tessdata/chi_sim.traineddata')
Traceback (most recent call last): File ".\GetQuestionTessAndroid.py", line 20, in
question, choices = ocr.ocr_img(img)
File "G:\TopSup-master\common\ocr.py", line 76, in ocr_img
question = pytesseract.image_to_string(question_im, lang='chi_sim', config=tessdata_dir_config)
File "C:\Anaconda3\lib\site-packages\pytesseract\pytesseract.py", line 125, in image_to_string
raise TesseractError(status, errors)
pytesseract.pytesseract.TesseractError: (1, 'Error opening data file G:\Tesseract-OCR\tessdata/chi_sim.traineddata')