Brak opisu

sxkj 94c38ab9f0 update others 2 lat temu
core b7f3fede00 update parser 2 lat temu
idcard_cls_infer 81cffceea1 init commit 2 lat temu
idcard_det_infer 81cffceea1 init commit 2 lat temu
idcard_rec_infer 81cffceea1 init commit 2 lat temu
images 94c38ab9f0 update others 2 lat temu
sx_utils 9716423ed2 fix address(户) 2 lat temu
testing 94c38ab9f0 update others 2 lat temu
.gitignore 81cffceea1 init commit 2 lat temu
Dockerfile bab81ff263 change gunicorn 2 lat temu
Makefile bab81ff263 change gunicorn 2 lat temu
README.md bab81ff263 change gunicorn 2 lat temu
cpu.Dockerfile bab81ff263 change gunicorn 2 lat temu
docker-compose.yml b7f3fede00 update parser 2 lat temu
environment.yml bab81ff263 change gunicorn 2 lat temu
input.jpg 81cffceea1 init commit 2 lat temu
main.py 55d3a41d3a refactor ocr 2 lat temu
main2.py 55d3a41d3a refactor ocr 2 lat temu
ppocr_keys_v1.txt 81cffceea1 init commit 2 lat temu
server.py 1d4ab4f087 fix line_parser and ocr_model 2 lat temu

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