docling-project / docling-project/docling
Standalone equations are partially confused with regular text items
Open
bug
layout
- Dominant language
- Python
- Stars
- 66.4k
- Forks
- 4.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 84
Description
### Bug
The layout detector wrongly classifies some obvious equations as text items. The post-processing needs to be improved to resolve these cases better when there are competing proposals on the same element with different labels and confidences.
### Steps to reproduce
Convert the provided example PDF and observe missed formulas.
[code_and_formulas_2.pdf](https://github.com/user-attachments/files/18394756/code_and_formulas_2.pdf)
### Docling version
```
Docling version: 2.15.1
Docling Core version: 2.14.0
Docling IBM Models version: 3.1.2
Docling Parse version: 3.0.0
```
### Python version
Any
Contributor guide
Assessment
This issue has not been assessed yet.