The installation of python system and the installation of cnocr and their respective use

Use of cnocr in Python3

Introduction: I wrote tesseract-ocr and Baidu ocr before, so I will teach myself cnoce
in python this time 1. Install the Python3 environment under Linux
https://www.cnblogs.com/lemon-feng/p/11208435.html
this The introduction is very complete
. 2. Install cnocr in the Python3 environment
https://github.com/breezedeus/cnocr
Note: If the pip command cannot be executed, please execute sudo yum install python3-pip first
and then establish a soft connection. success

3. Picture test command
Python3 scripts/cnocr_predict.py --file examples/picture name

Guess you like

Origin blog.csdn.net/HAC12/article/details/107344122