설명 없음

sxwl_DL 69bd435e2b 更新 'cpu.Dockerfile' 2 년 전
ch_ppocr_server_v2.0_det_infer 5986d6402b update angle detector and model 2 년 전
ch_ppocr_server_v2.0_rec_infer 5986d6402b update angle detector and model 2 년 전
core f1979a984e 增加长名处理 2 년 전
helm 7d824238f7 add helm chart 2 년 전
idcard_cls_infer 81cffceea1 init commit 2 년 전
idcard_det_infer 81cffceea1 init commit 2 년 전
idcard_rec_infer 81cffceea1 init commit 2 년 전
images f1979a984e 增加长名处理 2 년 전
sx_utils 9716423ed2 fix address(户) 2 년 전
testing f1979a984e 增加长名处理 2 년 전
.gitignore becbc361da 更新 .gitignore 2 년 전
Dockerfile 5986d6402b update angle detector and model 2 년 전
Makefile bab81ff263 change gunicorn 2 년 전
README.md bab81ff263 change gunicorn 2 년 전
convert_json.py 18f9272307 add convert_json and some_pic 2 년 전
cpu.Dockerfile 69bd435e2b 更新 'cpu.Dockerfile' 2 년 전
docker-compose.yml f1979a984e 增加长名处理 2 년 전
environment.yml a071156337 update lineparser 2 년 전
generate_test.py f1979a984e 增加长名处理 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 년 전
run.py 7842203a3a add Notes and fix lineparser 2 년 전
server.py 1a7fcf414a add error dict 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