설명 없음

zeke-chin 1122e4ca4b 交付版本 1 년 전
core 1122e4ca4b 交付版本 1 년 전
images 7666d6893d add images all and all_test.py 2 년 전
models 1122e4ca4b 交付版本 1 년 전
s_utils 1122e4ca4b 交付版本 1 년 전
testing 2c36bfc8d8 update detect model & rec model 2 년 전
.gitignore 92aa095dfc 处理冲突 2 년 전
Dockerfile 1122e4ca4b 交付版本 1 년 전
Makefile d4a2676d0f update deploy 2 년 전
README.md 1122e4ca4b 交付版本 1 년 전
docker-compose.yml 5b1a2188fc update detect model & rec model 2 년 전
environment.yml 1122e4ca4b 交付版本 1 년 전
ppocr_keys_bank.txt 5b1a2188fc update detect model & rec model 2 년 전
predict_det.py 5b1a2188fc update detect model & rec model 2 년 전
run.py 5b1a2188fc update detect model & rec model 2 년 전
server.py 1122e4ca4b 交付版本 1 년 전
simfang.ttf 5b1a2188fc update detect model & rec model 2 년 전
utility.py 1122e4ca4b 交付版本 1 년 전

README.md

银行卡识别

OCR算法服务,用于识别银行卡号。

环境

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

服务端

# port 8080
python server.py --port 8080

单元测试

python -m unittest discover testing '*_test.py' -v
 
# pytest
cd testing
python -m pytest test_bank.py -vv
# test group convex
python -m pytest test_bank.py -m convex -vv