docling-project / docling-project/docling

[BEE] Order Total is incorrectly detected as Footer by Docling Layout model

Open
#2,856 1 comment 0 reactions 0 assignees View on GitHub
bug triage/close-stale
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Bug
The Docling Layout model incorrectly classifies the `order total` section as a footer, which breaks downstream document understanding and extraction logic. The correct behavior is for the layout model to detect this content as either `Text` or `Key-Value Region`.

Document: https://ibm.box.com/s/cy03y7xs0bb7oxcr1n1fvcisaxdhwa49

### Steps to reproduce
1. Run Layout model on the linked document/image above
2. Check the layout output.
3. See that the order total is labeled as Page-footer.

### Docling version
N/A (directly ran via https://huggingface.co/docling-project/docling-layout-heron)
...

### Python version
Python 3.11.13

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.