Commit dbb9a1ab authored by 赵小蒙's avatar 赵小蒙

修复table的描述符号应该是"5"

parent 681ab11c
......@@ -68,6 +68,9 @@ def parse_pdf_by_ocr(pdf_bytes,
'''根据layout顺序,对当前页面所有需要留下的block进行排序'''
sorted_blocks = sort_blocks_by_layout(all_bboxes, layout_bboxes)
'''block嵌套问题解决'''
#@todo 1. text block大框套小框,删除小框 2. 图片或文本框与舍弃框重叠,优先信任舍弃框 3. 文本框与标题框重叠,优先信任文本框
'''获取所有需要拼接的span资源'''
spans = magic_model.get_all_spans(page_id)
'''删除重叠spans中较小的那些'''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment