Skip to content

[Layout] Add layout element & extend vis#2074

Merged
felixdittrich92 merged 3 commits into
mindee:mainfrom
felixdittrich92:layout-elements
Jun 17, 2026
Merged

[Layout] Add layout element & extend vis#2074
felixdittrich92 merged 3 commits into
mindee:mainfrom
felixdittrich92:layout-elements

Conversation

@felixdittrich92

Copy link
Copy Markdown
Collaborator

This PR:

  • Add LayoutElement for DocumentBuilder
  • Extend visualization
  • Update tests

NOTE: defusedxml replaced by xml.etree

@felixdittrich92 felixdittrich92 added this to the 1.1.0 milestone Jun 16, 2026
@felixdittrich92 felixdittrich92 self-assigned this Jun 16, 2026
@felixdittrich92 felixdittrich92 added module: io Related to doctr.io module: utils Related to doctr.utils ext: tests Related to tests folder type: new feature New feature topic: layout detection Related to document layout detection topic: build Related to dependencies and build labels Jun 16, 2026
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.91667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 96.89%. Comparing base (bd2dec8) to head (029150a).

Files with missing lines Patch % Lines
doctr/io/elements.py 96.42% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2074      +/-   ##
==========================================
- Coverage   96.91%   96.89%   -0.02%     
==========================================
  Files         156      156              
  Lines        7379     7415      +36     
==========================================
+ Hits         7151     7185      +34     
- Misses        228      230       +2     
Flag Coverage Δ
unittests 96.89% <97.91%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@felixdittrich92 felixdittrich92 merged commit b45b899 into mindee:main Jun 17, 2026
47 of 48 checks passed
@felixdittrich92 felixdittrich92 deleted the layout-elements branch June 17, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ext: tests Related to tests folder module: io Related to doctr.io module: utils Related to doctr.utils topic: build Related to dependencies and build topic: layout detection Related to document layout detection type: new feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant