85a7f363 by 周伟奇

add new ocr flow

1 parent 0e0862dd
......@@ -34,5 +34,3 @@ data/*
src/*.sh
test*
\ No newline at end of file
ocr_test.py
ocr_process.py
\ No newline at end of file
......
......@@ -36,7 +36,7 @@ APPLICATION_ID_META_FIELD_id = 1
DEALER_CODE_META_FIELD_id = 13
BUSINESS_TYPE_META_FIELD_id = 93
RETRY_TIMES = 3
RETRY_TIMES = 2
# ---------银行流水模板相关--------------------------------------------------------------------------------------------
......@@ -77,7 +77,8 @@ RES_SHEET_HEADER = ('页码', '序号', '结果')
RES_SUCCESS = '识别成功'
RES_SUCCESS_OTHER = '识别成功(其他类)'
RES_SUCCESS_EMPTY = '识别成功(空数据)'
RES_FAILED = '识别失败'
RES_FAILED_1 = '识别失败(阶段1)'
RES_FAILED_2 = '识别失败(阶段2)'
CARD_RATIO = 0.9
UNKNOWN_CARD = '未知卡号'
......
class EDMSException(Exception):
pass
class OCR1Exception(Exception):
pass
class OCR2Exception(Exception):
pass
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!