docling-project / docling-project/docling

Rounded OCR boudingbox and strict intersection judgement causes dropping OCR Textcells

Open
#1,644 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Bug

TextCells created by OCR model did not show up in exported files.

### Steps to reproduce

Note: Issue #1643 should be fixed first.
1. Use a pdf, in which there is a picture and a line of text, both of them neighboring very closely (use attached pdfs)
2. Use OCR model
3. Export

### Docling version

docling 2.33.0
docling-core 2.31.1
docling-ibm-models 3.4.3
docling-parse 4.0.1

### Python version

python 3.11.9

[can_reproduce_the_issue.pdf](https://github.com/user-attachments/files/20403437/can_reproduce_the_issue.pdf)

[cannot_reproduce_the_issue.pdf](https://github.com/user-attachments/files/20403439/cannot_reproduce_the_issue.pdf)

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.