docling-project / docling-project/docling

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

Open
#767 1 comment 0 reactions 1 assignee Claimed by @cau-git View on GitHub
bug layout pdf
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### 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

```python
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.