Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

Merge branch 'master' into dev-in-line-bbox

liukaiwenf5dc261da585
diff --cc magic_pdf/pdf_parse_by_ocr.py
index 7e31fb01,5cc00591..c94a02a3
--- a/magic_pdf/pdf_parse_by_ocr.py
+++ b/magic_pdf/pdf_parse_by_ocr.py
@@@ -22,12 -22,11 +22,12 @@@ from magic_pdf.pre_proc.detect_page_num
from magic_pdf.pre_proc.ocr_cut_image import cut_image_and_table
from magic_pdf.pre_proc.ocr_detect_layout import layout_detect
from magic_pdf.pre_proc.ocr_dict_merge import (
- remove_overlaps_min_spans,
merge_spans_to_line_by_layout,
- modify_y_axis
+ modify_y_axis,
+ modify_inline_equation
)
- from magic_pdf.pre_proc.ocr_remove_spans import remove_spans_by_bboxes
+ from magic_pdf.pre_proc.ocr_span_list_modify import remove_spans_by_bboxes, remove_overlaps_min_spans, \
+ adjust_bbox_for_standalone_block
from magic_pdf.pre_proc.remove_bbox_overlap import remove_overlap_between_bbox