Skip to content

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

feat: lower confidence threshold for improved detection accuracy

myhlolicde07b8364a1
diff --git a/mineru/model/layout/pp_doclayoutv2.py b/mineru/model/layout/pp_doclayoutv2.py
index 8790bd05..e54e8f68 100644
--- a/mineru/model/layout/pp_doclayoutv2.py
+++ b/mineru/model/layout/pp_doclayoutv2.py
@@ -891,7 +891,7 @@ class PPDocLayoutV2LayoutModel:
weight: str,
device: Optional[str] = "cuda",
imgsz: Tuple[int, int] = DEFAULT_IMAGE_SIZE,
- conf: float = 0.5,
+ conf: float = 0.45,
use_paddlex_filter_boxes: bool = True,
):
self.device = device