fix merge
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -18,7 +18,7 @@ print(res) # {'label': '营业执照', 'confidence': 0.988462} | ... | @@ -18,7 +18,7 @@ print(res) # {'label': '营业执照', 'confidence': 0.988462} |
| 18 | from authorization_from import retriever_individuals, retriever_companies | 18 | from authorization_from import retriever_individuals, retriever_companies |
| 19 | 19 | ||
| 20 | # 个人授权书 | 20 | # 个人授权书 |
| 21 | res = retriever_individuals.get_target_fields(go_res, signature_res) | 21 | res = retriever_individuals.get_target_fields(ocr_result, signature_list) |
| 22 | print(res) | 22 | print(res) |
| 23 | # {'words_result': | 23 | # {'words_result': |
| 24 | # {'姓名': {'words': 'xx', 'score': 1, 'location': {'left': 105, 'top': 277, 'width': 60, 'height': 28}}, | 24 | # {'姓名': {'words': 'xx', 'score': 1, 'location': {'left': 105, 'top': 277, 'width': 60, 'height': 28}}, |
| ... | @@ -27,7 +27,7 @@ print(res) | ... | @@ -27,7 +27,7 @@ print(res) |
| 27 | # } | 27 | # } |
| 28 | 28 | ||
| 29 | # 公司授权书 | 29 | # 公司授权书 |
| 30 | # res = retriever_companies.get_target_fields(go_res, signature_res) | 30 | # res = retriever_companies.get_target_fields(ocr_result, signature_list) |
| 31 | # print(res) | 31 | # print(res) |
| 32 | 32 | ||
| 33 | # {'words_result': { | 33 | # {'words_result': { | ... | ... |
-
Please register or sign in to post a comment