docling-project / docling-project/docling

The model recognizes the cell contents in the table incorrectly

Open
#1,344 1 comment 0 reactions 1 assignee Claimed by @maxmnemonic View on GitHub
bug table structure triage/close-stale
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Bug

The model recognizes the cell contents in the table incorrectly, especially when the contents of adjacent cells are mixed together or some cell contents are not fully recognized.

**bug 1: cell contents are not fully recognized.**
![Image](https://github.com/user-attachments/assets/3f16cd16-af6e-49b9-aa69-314e2909fae4)

**bug 2: the contents of adjacent cells are mixed together**
![Image](https://github.com/user-attachments/assets/a5909370-24e6-4781-a6a3-c708f8436ec1)

### Steps to reproduce

docling --ocr --force-ocr --ocr-engine rapidocr --from pdf --to html --debug-visualize-cells --debug-visualize-tables tmpqn2gklzq.pdf

### Docling version

Docling version: 2.28.4
Docling Core version: 2.25.0
Docling IBM Models version: 3.4.1
Docling Parse version: 4.0.1
Python: cpython-312 (3.12.9)
Platform: Linux-6.14.1-arch1-1-x86_64-with-glibc2.41

### Python version

Python 3.12.9

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.