Replies: 7 comments
-
We do have some code for writing stuctMaps but only the physical ones, not logical ones. Can you elaborate a bit on what you need and point me to the code you're currently using? Since you are currently the only project producing logical structMaps, you have the opportunity to shape this API to your liking. :-) |
Beta Was this translation helpful? Give feedback.
-
As our module includes document analysis, we have to link each of the physical file to the logical label (front page, chapter, section..) produced by our classifier. |
Beta Was this translation helpful? Give feedback.
-
Possible spec solution to be implemented to fix this: OCR-D/spec#154 |
Beta Was this translation helpful? Give feedback.
-
These is useful functionality and doable but since |
Beta Was this translation helpful? Give feedback.
-
I am against closing this. Why should core depend on a single module here? After all, we know that some basic API for this is indeed needed, in the least to allow implementations like ocrd_anybaseocr and to fulfil the spec. Keeping this visibly open helps finding the topic – closing would bury it. |
Beta Was this translation helpful? Give feedback.
-
But who is going to do that for ocrd_anybaseocr? As I said, I do think the functionality is useful, it would just be much more motivating to have an actual, in-development implementation that needs it. But okay, let's keep it open, let's hope such an implementation will come around in the future. |
Beta Was this translation helpful? Give feedback.
-
I see core as an enabler here. Coming up with a concept/spec how this should eventually look like in the METS, and implementing a simple API is much easier than devising some detection model for it. Maybe the first use-case will be an interactive tool for the intellectual part of digitization workflows, perhaps even as simple as a view in ocrd_browser... |
Beta Was this translation helpful? Give feedback.
-
Currently, there are no methods to write StructMap and StructLink to the mets file to link the logical and physical structure of the document. It would be nice, if those functions are added in the next release. @kba
Beta Was this translation helpful? Give feedback.
All reactions