Browse Source

交付版本

zeke-chin 1 year ago
parent
commit
553a138b8a
2 changed files with 35 additions and 1 deletions
  1. 0 1
      .gitignore
  2. 35 0
      README.md

+ 0 - 1
.gitignore

@@ -5,6 +5,5 @@ __pycache__
 *.pyc
 tmp*/
 output/
-*.md
 convert_markdown.py
 images/test_img

+ 35 - 0
README.md

@@ -0,0 +1,35 @@
+
+# 身份证识别
+
+OCR算法服务,识别身份证的正反面。
+
+## 环境
+
+- python >= 3.7
+- paddleocr
+- paddlepaddle
+- cv2
+
+```shell
+conda env create -f environment.yml
+```
+
+
+## 服务端
+
+```shell
+# port 8080
+python server.py --port 8080
+```
+
+## 单元测试
+
+```shell
+ python -m unittest discover testing '*_test.py' -v
+```
+
+## 镜像打包
+
+```shell
+make all
+```