sam-ke / idCardOcr

身份证识别 ocr
https://github.com/sam-ke/idCardOcr
68 stars 26 forks source link

[27799] Failed to execute script ocr #8

Open yancccc opened 3 years ago

yancccc commented 3 years ago

ycc@ycc:~/ocr/idCardOcr-master$ ./dist/ocr -h Traceback (most recent call last): File "ocr.py", line 2, in import os, cv2 File "/home/ycc/.local/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module exec(bytecode, module.dict) File "cv2/init.py", line 96, in File "cv2/init.py", line 58, in bootstrap File "cv2/init.py", line 56, in load_first_config ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation. [27799] Failed to execute script ocr