docling icon indicating copy to clipboard operation
docling copied to clipboard

fix regression: current docling version fails for specific pdf while earlier version works

Open samhita-alla opened this issue 11 months ago • 1 comments

Bug

I'm trying to convert a PDF to Markdown format. Docling version 2.2.0 works as expected, but the latest version, 2.15.1, does not. The newer version only outputs image tags, whereas version 2.2.0 correctly includes both text and image tags in the output.

Steps to reproduce

from docling.document_converter import DocumentConverter

source = "..."  
converter = DocumentConverter()
result = converter.convert(source)
print(result.document.export_to_markdown())

Here's the PDF that didn't work for me: https://github.com/NVIDIA-AI-Blueprints/pdf-to-podcast/blob/main/samples/investorpres-main.pdf

Docling version

2.15.1

Python version

3.12.2

samhita-alla avatar Jan 17 '25 11:01 samhita-alla

@samhita-alla I am reproducing this with Docling 2.17.0 and confirm there is most content detected as picture only. It will need some deeper analysis on the layout model.

cau-git avatar Jan 30 '25 13:01 cau-git