Skip to content

[reading order] de-skew rotated layout geoms - #2115

Merged
felixdittrich92 merged 1 commit into
mindee:mainfrom
felixdittrich92:reading-order-improvements
Jul 21, 2026
Merged

[reading order] de-skew rotated layout geoms#2115
felixdittrich92 merged 1 commit into
mindee:mainfrom
felixdittrich92:reading-order-improvements

Conversation

@felixdittrich92

@felixdittrich92 felixdittrich92 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

This PR:

  • Add de-skew method to ReadingOrderPredictor to handle also the rotation path
  • Add cor tests and missing docu

@felixdittrich92 felixdittrich92 added this to the 1.1.0 milestone Jul 21, 2026
@felixdittrich92 felixdittrich92 self-assigned this Jul 21, 2026
@felixdittrich92 felixdittrich92 added topic: documentation Improvements or additions to documentation type: enhancement Improvement module: models Related to doctr.models ext: tests Related to tests folder ext: docs Related to docs folder topic: reading order Related to the task of reading order labels Jul 21, 2026
@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.14286% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 96.61%. Comparing base (ea46d99) to head (ce201cf).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
doctr/models/reading_order/base.py 97.14% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2115   +/-   ##
=======================================
  Coverage   96.61%   96.61%           
=======================================
  Files         168      168           
  Lines        9059     9094   +35     
=======================================
+ Hits         8752     8786   +34     
- Misses        307      308    +1     
Flag Coverage Δ
unittests 96.61% <97.14%> (+<0.01%) ⬆️

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 marked this pull request as ready for review July 21, 2026 13:25
@felixdittrich92
felixdittrich92 merged commit 703d9e1 into mindee:main Jul 21, 2026
56 of 57 checks passed
@felixdittrich92
felixdittrich92 deleted the reading-order-improvements branch July 21, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ext: docs Related to docs folder ext: tests Related to tests folder module: models Related to doctr.models topic: documentation Improvements or additions to documentation topic: reading order Related to the task of reading order type: enhancement Improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant