暫無描述

Zhang Li 94418b096c update parser 2 年之前
core 94418b096c update parser 2 年之前
idcard_cls_infer 81cffceea1 init commit 2 年之前
idcard_det_infer 81cffceea1 init commit 2 年之前
idcard_rec_infer 81cffceea1 init commit 2 年之前
images 90f4e997a8 upload error birth idcard 2 年之前
sx_utils 81cffceea1 init commit 2 年之前
testing 8cbc8f3f3f add angledetector 2 年之前
.gitignore 81cffceea1 init commit 2 年之前
Dockerfile bab81ff263 change gunicorn 2 年之前
Makefile bab81ff263 change gunicorn 2 年之前
README.md bab81ff263 change gunicorn 2 年之前
cpu.Dockerfile bab81ff263 change gunicorn 2 年之前
docker-compose.yml dc91ddffeb fix name bug 2 年之前
environment.yml bab81ff263 change gunicorn 2 年之前
input.jpg 81cffceea1 init commit 2 年之前
main.py 55d3a41d3a refactor ocr 2 年之前
main2.py 55d3a41d3a refactor ocr 2 年之前
ppocr_keys_v1.txt 81cffceea1 init commit 2 年之前
server.py 8cbc8f3f3f add angledetector 2 年之前

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