Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
fix: drop reason append error
pangguosheng1e6de549a8ff
diff --git a/magic_pdf/pre_proc/remove_bbox_overlap.py b/magic_pdf/pre_proc/remove_bbox_overlap.pyindex 71a05721..35f96a10 100644--- a/magic_pdf/pre_proc/remove_bbox_overlap.py+++ b/magic_pdf/pre_proc/remove_bbox_overlap.py@@ -70,7 +70,7 @@ def _remove_overlap_between_bboxes(arr):res[i] = Noneelse:keeps[idx] = False- drop_reasons.append(drop_reasons)+ drop_reasons.append(drop_reason)if keeps[idx]:res[idx] = vreturn res, drop_reasons