python 2.7 - raise TesseractError(status, errors) pyocr.error.TesseractError: (-1073741819, '') -


i got following error when use pyocr:

traceback (most recent call last): file "f:/workspace/work/project/image/imageword_extract/test_pyocr.py", line 32, in print tools[0].image_to_string(enhance_image(image_path+'\timg1.jpg'),lang='chi_sim') file "d:\anaconda2\lib\site-packages\pyocr\tesseract.py", line 358, in image_to_string raise tesseracterror(status, errors) pyocr.error.tesseracterror: (-1073741819, '')

there no problem identify english, when identify chinese reported above error

can please check if have "chi_sim.traineddata" training file in tessdata directory, if not please place file , give try. luck!

training file available @ below link: https://github.com/tesseract-ocr/tessdata/raw/4.00/chi_sim.traineddata


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -