[python ocr] Interface finished product paddleocr flask interface finished product packaging Baidu flying paddle belt model can be deployed locally or in the cloud

Test recognition effect:
Insert image description here
Calling method: img parameter is directly base64 encoded, and then url encoded for post

Insert image description hereThe py3.8 I installed here
needs to be installed:

pip install --upgrade pip
pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
pip install paddleocr -i https://mirror.baidu.com/pypi/simple

Generally, it can be installed normally: if you find numpy error when using it, you can downgrade the version.

pip install numpy==1.19.3 -i https://mirror.baidu.com/pypi/simple

Cloud deployment test results:
WIN2019 server, Baidu Cloud 2H4G5M 115K pictures, the recognition process takes about 4 seconds. 2 seconds for transmission, 2 seconds for recognition.
Insert image description here

Resources + source code + python version:

Link: https://pan.baidu.com/s/10L2UIW97OoQjn6PGQGomOQ
Extraction code: wuji
– Sharing from Baidu Netdisk Super Member V4

Guess you like

Origin blog.csdn.net/ZhiMaoYiDeHuaiRen/article/details/119321835