python2.7 - python识别验证码Tesseract OCR奔溃
巴扎黑
巴扎黑 2017-04-18 10:09:40
0
1
1172

使用的12306验证码识别库 已经下载chi_sim.traineddata
环境win7,python2.7

$ python fuck12306.py OCR Question: Traceback (most recent call last): File "fuck12306.py", line 151, in  print 'OCR Question:', ocr_question_extract(im) File "fuck12306.py", line 112, in ocr_question_extract return pytesseract.image_to_string(im, lang='chi_sim').strip() File "d:\python27\lib\site-packages\pytesseract\pytesseract.py", line 164, in image_to_string raise TesseractError(status, errors) pytesseract.pytesseract.TesseractError: (255, '')

巴扎黑
巴扎黑

reply all (1)
Ty80

What version of Tesseract OCR did you download? This will happen if the version and data do not match each other

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!