0669da1f by 周伟奇

fix dl

1 parent 460d1042
......@@ -292,6 +292,15 @@ def ca_compare_license(license_en, ocr_res_dict, field_list):
ocr_res_str = ocr_res_dict.get(ocr_field)
if ocr_res_str is not None:
ocr_res_list = json.loads(ocr_res_str)
# 副页去除 TODO 3/4页去除
if ocr_field == consts.DL_OCR_FIELD:
tmp_list = []
for res in ocr_res_list:
if compare_logic['vinNo'][0] in res:
tmp_list.append(res)
ocr_res_list = tmp_list
length = len(ocr_res_list)
# 身份证、居住证 过期期限特殊处理
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!