From 0884e9a4d98529dcb435bbda38670faaf59c2384 Mon Sep 17 00:00:00 2001 From: Billy Bao Date: Wed, 19 Nov 2025 13:59:32 +0800 Subject: [PATCH] Fix: bbox not included in mineru output (#11365) ### What problem does this PR solve? Fix: bbox not included in mineru output #11315 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- deepdoc/parser/mineru_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepdoc/parser/mineru_parser.py b/deepdoc/parser/mineru_parser.py index e3cb62cc7..d2b694188 100644 --- a/deepdoc/parser/mineru_parser.py +++ b/deepdoc/parser/mineru_parser.py @@ -318,7 +318,7 @@ class MinerUParser(RAGFlowPdfParser): def _line_tag(self, bx): pn = [bx["page_idx"] + 1] - positions = bx["bbox"] + positions = bx.get("bbox", (0, 0, 0, 0)) x0, top, x1, bott = positions if hasattr(self, "page_images") and self.page_images and len(self.page_images) > bx["page_idx"]: