# 银行卡识别 基于paddleocr v2, 用于识别银行卡号。 ## 环境 - python >= 3.7 - paddleocr - paddlepaddle - cv2 ```shell conda env create -f environment.yml ``` ## demo ```shell python main.py ``` ## 服务端 ```shell # port 8080 python server.py --port 8080 ``` ## 单元测试 ```shell 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 ```