Không có mô tả

Raychar 2c36bfc8d8 update detect model & rec model 2 năm trước cách đây
bank_cls_infer a29331f881 bank card update 2 năm trước cách đây
bank_det_infer 5b1a2188fc update detect model & rec model 2 năm trước cách đây
bank_rec_infer 5b1a2188fc update detect model & rec model 2 năm trước cách đây
core 2c36bfc8d8 update detect model & rec model 2 năm trước cách đây
images 7666d6893d add images all and all_test.py 2 năm trước cách đây
sx_utils 60b8ec9de5 refactor anchor 2 năm trước cách đây
testing 2c36bfc8d8 update detect model & rec model 2 năm trước cách đây
.gitignore 5b1a2188fc update detect model & rec model 2 năm trước cách đây
Dockerfile 5b1a2188fc update detect model & rec model 2 năm trước cách đây
Makefile d4a2676d0f update deploy 2 năm trước cách đây
README.md 60b8ec9de5 refactor anchor 2 năm trước cách đây
convert_markdown.py 5b1a2188fc update detect model & rec model 2 năm trước cách đây
cpu.Dockerfile 5b1a2188fc update detect model & rec model 2 năm trước cách đây
docker-compose.yml 5b1a2188fc update detect model & rec model 2 năm trước cách đây
en_dict.txt 5b1a2188fc update detect model & rec model 2 năm trước cách đây
environment.yml 60b8ec9de5 refactor anchor 2 năm trước cách đây
logo.png f906a85b8b add angledetector 2 năm trước cách đây
ppocr_keys_bank.txt 5b1a2188fc update detect model & rec model 2 năm trước cách đây
ppocr_keys_v1.txt a29331f881 bank card update 2 năm trước cách đây
predict_det.py 5b1a2188fc update detect model & rec model 2 năm trước cách đây
run.py 5b1a2188fc update detect model & rec model 2 năm trước cách đây
server.py 5b1a2188fc update detect model & rec model 2 năm trước cách đây
simfang.ttf 5b1a2188fc update detect model & rec model 2 năm trước cách đây
utility.py 5b1a2188fc update detect model & rec model 2 năm trước cách đây

README.md

银行卡识别

基于paddleocr v2, 用于识别银行卡号。

环境

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

demo

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