mindee / doctr

docTR (Document Text Recognition) - a seamless, high-performing & accessible library for OCR-related tasks powered by Deep Learning.
https://mindee.github.io/doctr/
Apache License 2.0
3.31k stars 397 forks source link

[detection] move padding removal directly to detection #1627

Closed felixdittrich92 closed 4 weeks ago

felixdittrich92 commented 1 month ago

This PR:

Any feedback is welcome :hugs:

CC @ArsalanYounus007 @yumikim381

Note: again API will fail until merged ^^

ref.: https://github.com/mindee/doctr/discussions/1619 https://github.com/mindee/doctr/issues/1622

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.38%. Comparing base (9c92f5c) to head (c1d6a36).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1627 +/- ## ========================================== + Coverage 96.25% 96.38% +0.13% ========================================== Files 163 164 +1 Lines 7707 7716 +9 ========================================== + Hits 7418 7437 +19 + Misses 289 279 -10 ``` | [Flag](https://app.codecov.io/gh/mindee/doctr/pull/1627/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mindee) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/mindee/doctr/pull/1627/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mindee) | `96.38% <100.00%> (+0.13%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mindee#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

felixT2K commented 4 weeks ago

Included mypy fixes for new version