-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Processor resource discovery #559
Conversation
Codecov Report
@@ Coverage Diff @@
## master #559 +/- ##
==========================================
- Coverage 84.14% 82.75% -1.40%
==========================================
Files 49 49
Lines 2776 2847 +71
Branches 541 561 +20
==========================================
+ Hits 2336 2356 +20
- Misses 342 393 +51
Partials 98 98
Continue to review full report at Codecov.
|
67c5633
to
260b168
Compare
Codecov Report
@@ Coverage Diff @@
## master #559 +/- ##
==========================================
- Coverage 83.98% 78.57% -5.41%
==========================================
Files 52 55 +3
Lines 3109 3440 +331
Branches 623 701 +78
==========================================
+ Hits 2611 2703 +92
- Misses 364 597 +233
- Partials 134 140 +6
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I could make another wish: It would be useful if list-installed
would show the location type registered ressources were found in (data
, config
, cache
, virtualenv
), and likewise for unregistered resources (instead of the full path after Found at
).
Sure, that makes sense. |
|
OK, so adapted to what @bersky and I discussed and up-to-date with OCR-D/spec#178 🤞 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could also import and expose OcrdResourceManager
directly from ocrd
, so use-cases like ocrd_tesserocr are more accessible.
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
I also added a flag Also added I really hope we've got it right this time but I will test some more before merging just to be sure. |
Implementing OCR-D/spec#163
resolve_resource
that gets passed a parameter value and tries to find it in one of the locations defined in ocrd_tool: file parameter relative filename resolution order, #160 spec#163ocrd resmgr
that allows browsing the builtin list, listing installed resources and downloading new resources