-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
判断 use_ocr 然后跳过匹配 html,这导致使用 ocr_results 传入 ocr 结果的情况下无法获取表格 html ,没看懂这段代码意图
RapidTable/rapid_table/main.py
Lines 101 to 110 in b0ba540
| if not self.cfg.use_ocr: | |
| results.imgs.extend(imgs) | |
| results.cell_bboxes.extend(cell_bboxes) | |
| results.logic_points.extend(logic_points) | |
| continue | |
| dt_boxes, rec_res = self.get_ocr_results(imgs, start_i, end_i, ocr_results) | |
| pred_htmls = self.table_matcher( | |
| pred_structures, cell_bboxes, dt_boxes, rec_res | |
| ) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels