Nav apraksta

sxkj d54206a7ab add all images and all_test.py 2 gadi atpakaļ
ch_ppocr_server_v2.0_det_infer 6b5bac4bb5 refactor all 2 gadi atpakaļ
ch_ppocr_server_v2.0_rec_infer 6b5bac4bb5 refactor all 2 gadi atpakaļ
core d863b43bac fix style 2 gadi atpakaļ
huko_cls_infer 6b5bac4bb5 refactor all 2 gadi atpakaļ
huko_det_infer ca0e04a139 first commit 2 gadi atpakaļ
huko_rec_infer ca0e04a139 first commit 2 gadi atpakaļ
images d54206a7ab add all images and all_test.py 2 gadi atpakaļ
sx_utils ca0e04a139 first commit 2 gadi atpakaļ
testing d54206a7ab add all images and all_test.py 2 gadi atpakaļ
.gitignore ca0e04a139 first commit 2 gadi atpakaļ
Dockerfile ca0e04a139 first commit 2 gadi atpakaļ
Makefile ca0e04a139 first commit 2 gadi atpakaļ
README.md 7649615116 fix doc 2 gadi atpakaļ
convert_json.py 401eba7083 fix style 2 gadi atpakaļ
cpu.Dockerfile ca0e04a139 first commit 2 gadi atpakaļ
docker-compose.yml ca0e04a139 first commit 2 gadi atpakaļ
environment.yml ca0e04a139 first commit 2 gadi atpakaļ
ppocr_keys_v1.txt ca0e04a139 first commit 2 gadi atpakaļ
run.py 6b5bac4bb5 refactor all 2 gadi atpakaļ
server.py 6b5bac4bb5 refactor all 2 gadi atpakaļ

README.md

户口本识别

基于paddleocr v2, 用于识户口本。

环境

  • python >= 3.7
  • paddleocr
  • paddlepaddle
  • cv2
conda env create -f environment.yml

服务端

# port 8080
python server.py --port 8080

单元测试

 conda activate py38
 python -m unittest discover testing '*_test.py' -v

镜像打包

make all