Replies: 2 comments 2 replies
-
因为1标识第一个box被包含,而表格的box在结构恢复时,是会比ocr的box更大的,ocr的box是不会换行,且同行也可能分块的 |
Beta Was this translation helpful? Give feedback.
0 replies
-
这里恢复表格的思路是将ocr的box放在合适的表格的box里面 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
contained = is_box_contained(ocr_box, pred_box, 0.6)
if contained == 1 or calculate_iou(ocr_box, pred_box) > 0.8:
if j not in matched:
matched[j] = [gt_box]
else:
matched[j].append(gt_box)
else:
not_match_orc_boxes.append(gt_box)
Beta Was this translation helpful? Give feedback.
All reactions