Raychar 2c36bfc8d8 update detect model & rec model | 2 years ago | |
---|---|---|
bank_cls_infer | 2 years ago | |
bank_det_infer | 2 years ago | |
bank_rec_infer | 2 years ago | |
core | 2 years ago | |
images | 2 years ago | |
sx_utils | 2 years ago | |
testing | 2 years ago | |
.gitignore | 2 years ago | |
Dockerfile | 2 years ago | |
Makefile | 2 years ago | |
README.md | 2 years ago | |
convert_markdown.py | 2 years ago | |
cpu.Dockerfile | 2 years ago | |
docker-compose.yml | 2 years ago | |
en_dict.txt | 2 years ago | |
environment.yml | 2 years ago | |
logo.png | 2 years ago | |
ppocr_keys_bank.txt | 2 years ago | |
ppocr_keys_v1.txt | 2 years ago | |
predict_det.py | 2 years ago | |
run.py | 2 years ago | |
server.py | 2 years ago | |
simfang.ttf | 2 years ago | |
utility.py | 2 years ago |
基于paddleocr v2, 用于识别银行卡号。
conda env create -f environment.yml
python main.py
# 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