Skyexu / TopSup

答题辅助决策:头号英雄等答题类游戏
https://www.jianshu.com/p/dc828c4b901d
1.32k stars 351 forks source link

运行python.exe GetQuestionTessAndroid.py #122

Open wehavedog opened 6 years ago

wehavedog commented 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')