Aucune description

Zhang Li 68d27ce324 merge il y a 2 ans
ch_ppocr_server_v2.0_det_infer 5986d6402b update angle detector and model il y a 2 ans
ch_ppocr_server_v2.0_rec_infer 5986d6402b update angle detector and model il y a 2 ans
core 68d27ce324 merge il y a 2 ans
idcard_cls_infer 81cffceea1 init commit il y a 2 ans
idcard_det_infer 81cffceea1 init commit il y a 2 ans
idcard_rec_infer 81cffceea1 init commit il y a 2 ans
images a33626f212 update il y a 2 ans
sx_utils 9716423ed2 fix address(户) il y a 2 ans
testing b08ed2bd2b refactor anchor il y a 2 ans
.gitignore 81cffceea1 init commit il y a 2 ans
Dockerfile 5986d6402b update angle detector and model il y a 2 ans
Makefile bab81ff263 change gunicorn il y a 2 ans
README.md bab81ff263 change gunicorn il y a 2 ans
cpu.Dockerfile bab81ff263 change gunicorn il y a 2 ans
docker-compose.yml b7f3fede00 update parser il y a 2 ans
environment.yml 5986d6402b update angle detector and model il y a 2 ans
input.jpg 81cffceea1 init commit il y a 2 ans
main.py 55d3a41d3a refactor ocr il y a 2 ans
main2.py 55d3a41d3a refactor ocr il y a 2 ans
ppocr_keys_v1.txt 81cffceea1 init commit il y a 2 ans
run.py 7842203a3a add Notes and fix lineparser il y a 2 ans
server.py 5986d6402b update angle detector and model il y a 2 ans

README.md

身份证识别

基于paddleocr v2, 用于识别身份证的正反面。

环境

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

demo

# 正面
python main.py

# 反面 
python main2.py

服务端

# port 8080
python server.py --port 8080

单元测试

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

镜像打包

make all