Skip to content

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

refactor: change default value of enable_ocr_det_batch to False in BatchAnalyze constructor

myhloli1f2ea493cd19
diff --git a/mineru/backend/pipeline/batch_analyze.py b/mineru/backend/pipeline/batch_analyze.py
index 1be7529d..432c8009 100644
--- a/mineru/backend/pipeline/batch_analyze.py
+++ b/mineru/backend/pipeline/batch_analyze.py
@@ -14,7 +14,7 @@ MFR_BASE_BATCH_SIZE = 16
class BatchAnalyze:
- def __init__(self, model_manager, batch_ratio: int, formula_enable, table_enable, enable_ocr_det_batch: bool = True):
+ def __init__(self, model_manager, batch_ratio: int, formula_enable, table_enable, enable_ocr_det_batch: bool = False):
self.batch_ratio = batch_ratio
self.formula_enable = formula_enable
self.table_enable = table_enable