Explorar el Código

添加 样签OCR测试脚本

zeke-chin hace 2 años
padre
commit
cca3556cce

+ 0 - 0
HR-OCR/TestAllOcr/config.py → HR_OCR/TestAllOcr/config.py


+ 0 - 0
HR-OCR/TestAllOcr/image/bankcard.jpg → HR_OCR/TestAllOcr/image/bankcard.jpg


+ 0 - 0
HR-OCR/TestAllOcr/image/blfe.jpg → HR_OCR/TestAllOcr/image/blfe.jpg


+ 0 - 0
HR-OCR/TestAllOcr/image/cet.jpg → HR_OCR/TestAllOcr/image/cet.jpg


+ 0 - 0
HR-OCR/TestAllOcr/image/idcard.jpg → HR_OCR/TestAllOcr/image/idcard.jpg


+ 0 - 0
HR-OCR/TestAllOcr/image/regbook.jpg → HR_OCR/TestAllOcr/image/regbook.jpg


+ 0 - 0
HR-OCR/TestAllOcr/image/schoolcert.jpg → HR_OCR/TestAllOcr/image/schoolcert.jpg


+ 0 - 0
HR-OCR/TestAllOcr/test_interface.py → HR_OCR/TestAllOcr/test_interface.py


+ 0 - 0
HR-OCR/config.py → HR_OCR/config.py


+ 0 - 0
HR-OCR/to_md/new.py → HR_OCR/to_md/new.py


+ 0 - 0
HR-OCR/to_md/ocr_config.py → HR_OCR/to_md/ocr_config.py


+ 0 - 0
HR-OCR/to_md/use.py → HR_OCR/to_md/use.py


+ 0 - 0
HR-OCR/tools/convert_json.py → HR_OCR/tools/convert_json.py


+ 0 - 0
HR-OCR/tools/suffix.py → HR_OCR/tools/suffix.py


+ 0 - 0
YQ_OCR/__init__.py


+ 0 - 0
YQ-OCR/to_md/config.py → YQ_OCR/config.py


+ 0 - 0
YQ-OCR/img/03-植选PET 内包—植选豆乳以团之名形象定制包装周艺轩版.jpg → YQ_OCR/img/03-植选PET 内包—植选豆乳以团之名形象定制包装周艺轩版.jpg


+ 0 - 0
YQ-OCR/img/03-植选PET 内包—植选豆乳以团之名形象定制包装周艺轩版.xlsx → YQ_OCR/img/03-植选PET 内包—植选豆乳以团之名形象定制包装周艺轩版.xlsx


+ 0 - 0
YQ-OCR/img/巧克力味牛奶饮品.jpg → YQ_OCR/img/巧克力味牛奶饮品.jpg


+ 0 - 0
YQ-OCR/img/巧克力味牛奶饮品.xlsx → YQ_OCR/img/巧克力味牛奶饮品.xlsx


+ 0 - 0
YQ-OCR/img/餐饮纯牛奶 内包.jpg → YQ_OCR/img/餐饮纯牛奶 内包.jpg


+ 0 - 0
YQ-OCR/img/餐饮纯牛奶 内包.xlsx → YQ_OCR/img/餐饮纯牛奶 内包.xlsx


+ 1 - 1
YQ-OCR/to_md/convert_MD.py → YQ_OCR/to_md/convert_MD.py

@@ -8,7 +8,7 @@ import json
 from mdutils.mdutils import MdUtils
 import requests
 
-from config import keyDict
+from YQ_OCR.config import keyDict
 
 url = 'http://192.168.199.107:18087'
 url_path = '/ocr_system/identify'

+ 2 - 3
YQ-OCR/to_md/xlsx_convert_json.py → YQ_OCR/to_md/xlsx_convert_json.py

@@ -4,13 +4,12 @@ from itertools import chain
 from pathlib import Path
 
 import pandas as pd
-
-from config import keyDict
+from YQ_OCR.config import keyDict
 
 # 把xlsx转成json
 
 
-excels_path = '/Users/zeke/work/sx/OCR/image_data/样签图片'
+excels_path = '/Users/zeke/work/sx/OCR/HROCR/to_md/YQ_OCR/img'
 
 
 # 返回文档里所以所需识别字符串