浏览代码

交付版本

zeke-chin 1 年之前
父节点
当前提交
553a138b8a
共有 2 个文件被更改,包括 35 次插入1 次删除
  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
+```