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
feat: remove commented code for clarity in model_output_to_middle_json.py
myhloli89006a905dc8
diff --git a/mineru/backend/vlm/model_output_to_middle_json.py b/mineru/backend/vlm/model_output_to_middle_json.pyindex e803fe3b..2c921142 100644--- a/mineru/backend/vlm/model_output_to_middle_json.py+++ b/mineru/backend/vlm/model_output_to_middle_json.py@@ -38,7 +38,6 @@ def blocks_to_page_info(page_blocks, image_dict, page, image_writer, page_index)"""将blocks转换为页面信息"""scale = image_dict["scale"]- # page_pil_img = image_dict["img_pil"]page_pil_img = image_dict["img_pil"]page_img_md5 = bytes_md5(page_pil_img.tobytes())with pdfium_guard():