c878c21a by 周伟奇

fix bug

1 parent fd556337
......@@ -332,9 +332,9 @@ class Finder:
break
if bbox_total:
anchor = [bbox_total[0], bbox[1], bbox_total[2], bbox[3],
bbox_total[4], bbox[5], bbox_total[6], bbox[7]]
_iou, _key = self.get_top_iou(poly=anchor_2, ocr_result=self.ocr_results[page_num])
anchor = [bbox_dkbj[0], bbox_total[1], bbox_dkbj[2], bbox_total[3],
bbox_dkbj[4], bbox_total[5], bbox_dkbj[6], bbox_total[7]]
_iou, _key = self.get_top_iou(poly=anchor, ocr_result=self.ocr_results[page_num])
bbox, total_text = self.ocr_results[page_num][_key]
asp_details_table.append(['附加产品融资贷款本金总金额:', '', total_text])
asp_details_table_term['words'] = asp_details_table
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!