Sin descripción

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

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