Sem descrição

zeke-chin 83f6a6d1d6 fix long name há 2 anos atrás
core 83f6a6d1d6 fix long name há 2 anos atrás
idcard_cls_infer 81cffceea1 init commit há 2 anos atrás
idcard_det_infer 81cffceea1 init commit há 2 anos atrás
idcard_rec_infer 81cffceea1 init commit há 2 anos atrás
images 9a1ce22778 test long name há 2 anos atrás
sx_utils 81cffceea1 init commit há 2 anos atrás
testing 9a1ce22778 test long name há 2 anos atrás
.gitignore 81cffceea1 init commit há 2 anos atrás
Dockerfile bab81ff263 change gunicorn há 2 anos atrás
Makefile bab81ff263 change gunicorn há 2 anos atrás
README.md bab81ff263 change gunicorn há 2 anos atrás
cpu.Dockerfile bab81ff263 change gunicorn há 2 anos atrás
docker-compose.yml dc91ddffeb fix name bug há 2 anos atrás
environment.yml bab81ff263 change gunicorn há 2 anos atrás
input.jpg 81cffceea1 init commit há 2 anos atrás
main.py 55d3a41d3a refactor ocr há 2 anos atrás
main2.py 55d3a41d3a refactor ocr há 2 anos atrás
ppocr_keys_v1.txt 81cffceea1 init commit há 2 anos atrás
server.py 42bdddf895 180 há 2 anos atrás

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