fix: mineru post handel

This commit is contained in:
liuyuanchuang
2026-02-04 16:07:04 +08:00
parent 61fd5441b7
commit 35419b2102
2 changed files with 107 additions and 1 deletions

View File

@@ -346,7 +346,8 @@ class MineruOCRService(OCRServiceBase):
if "results" in result and "image" in result["results"]:
markdown_content = result["results"]["image"].get("md_content", "")
# markdown_content = _postprocess_markdown(markdown_content)
# Apply postprocessing to fix OCR errors
markdown_content = _postprocess_markdown(markdown_content)
# Convert to other formats if converter is available
latex = ""