Skip to content

[Layout] Add layout integration#2075

Draft
felixdittrich92 wants to merge 3 commits into
mindee:mainfrom
felixdittrich92:layout-integration
Draft

[Layout] Add layout integration#2075
felixdittrich92 wants to merge 3 commits into
mindee:mainfrom
felixdittrich92:layout-integration

Conversation

@felixdittrich92

@felixdittrich92 felixdittrich92 commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

This PR:

  • Add layout predictor integration in ocr_predictor
  • Update corresponding tests
  • Update docs

TODO:

  • Add model checkpoints
  • Improve documentation (fine tune and include own layout model)
  • Update README
  • Update demo & API

@felixdittrich92 felixdittrich92 added this to the 1.1.0 milestone Jun 17, 2026
@felixdittrich92 felixdittrich92 self-assigned this Jun 17, 2026
@felixdittrich92 felixdittrich92 added topic: documentation Improvements or additions to documentation module: models Related to doctr.models module: io Related to doctr.io ext: tests Related to tests folder ext: demo Related to demo folder ext: api Related to api folder type: new feature New feature ext: docs Related to docs folder topic: layout detection Related to document layout detection labels Jun 17, 2026
@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.92%. Comparing base (b45b899) to head (12a56bb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2075      +/-   ##
==========================================
- Coverage   96.93%   96.92%   -0.02%     
==========================================
  Files         156      156              
  Lines        7415     7441      +26     
==========================================
+ Hits         7188     7212      +24     
- Misses        227      229       +2     
Flag Coverage Δ
unittests 96.92% <100.00%> (-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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ext: api Related to api folder ext: demo Related to demo folder ext: docs Related to docs folder ext: tests Related to tests folder module: io Related to doctr.io module: models Related to doctr.models topic: documentation Improvements or additions to documentation 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