This is a Python version of OCR implemented by OpenCV, including text detection and text recognition.
cpp version: here
- python3
- opencv-python >= 4.5
text detection model(DBNet), Download Here
text recognition model, Download Here
alphabet file, Download Here
-
step1: download the models and alphabet file, put them in your path and then modify config/cfg.py file
-
step2: run command.
python demo.py