158a5293 by 周伟奇

fix merge

2 parents 98ec226f 2a8944f2
...@@ -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': {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!