-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Because
Views are rendered as appropriate tabs by attempting to ascertain the "abstract view type", e.g. OCR, ASR, NER, etc. This is done extremely naively, especially when checking for OCR views, since there is no standardized schema for what the output of a "thumbnail" view should look like. For example, these views could output:
- Alignments between generated TextDocuments and TimePoints in another view
- TimeFrames and TimePoints
- Just TimeFrames
- Just BoundingBoxes
- ... etc.
As a Band-Aid solution, the OCR abstract view type checker just pattern matches against known OCR/CV apps to determine if a view is a thumbnail tab. This is obviously not great for long-term development, since it would require the list to be manually updated with every new OCR app, and it wouldn't support third-party (non-CLAMS-developed) apps.
Done when
This could be addressed in a few different ways:
- A standardized "abstract view type" as part of the metadata for MMIF views, defined by each CLAMS app separately
- Allowing the user to add views as tabs manually and specify their abstract type from within the app
- A much more advanced rule-based type checking system (if there is some consistent and maintained pattern)
There are most likely other solutions that may be more elegant/robust -- I'm leaving this issue open for further discussion on potential strategies/methods for dealing with this problem
Additional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status