Heuristic Chyron Understanding (v0.3)
About this version
- Submitter: keighrim
- Submission Time: 2026-11-27T22:03:43+00:00
- Prebuilt Container Image: ghcr.io/clamsproject/app-heuristic-chyron-understanding:v0.3
-
Release Notes
Compatible with latest TextDocument shape with
origins
About this app (See raw metadata.json)
Prototype to convert chyron text from OCR output (e.g., docTR, Tesseract or a VLM captioner) into a name and list of attributes, with line-based heuristics.
- App ID: http://apps.clams.ai/heuristic-chyron-understanding/v0.3
- App License: Apache 2.0
- Source Repository: https://github.com/clamsproject/app-heuristic-chyron-understanding (source tree of the submitted version)
Inputs
(Note: “*” as a property value means that the property is required but can be any value.)
-
http://clams.ai/vocabulary/type/TextDocument/v2 (required) (of any properties)
Chyron text transcribed by an OCR app. The app reads the TextDocuments of the last view that has any; without such a view, the top-level TextDocuments of the MMIF. Empty texts and “no text” markers (e.g.,
NONE,N/A) are skipped, and markdown code fence lines (e.g., “```”) around the text are ignored.
Configurable Parameters
(Note: Multivalued means the parameter can have one or more values.)
-
note4mode: optional, defaults tofalse- Type: boolean
- Multivalued: False
- Choices:
false,true
Boolean to set the app to run in “note-4” mode and to take the second line (if available) from the input text to be the
name-normalizedvalue. The default is false, which means the app will try to generate normalization fromname-as-written(from the first line) value. -
pretty: optional, defaults tofalse- Type: boolean
- Multivalued: False
- Choices:
false,true
The JSON body of the HTTP response will be re-formatted with 2-space indentation
-
runningTime: optional, defaults totrue- Type: boolean
- Multivalued: False
- Choices:
false,true
The running time of the app will be recorded in the view metadata
-
hwFetch: optional, defaults tofalse- Type: boolean
- Multivalued: False
- Choices:
false,true
The hardware information (architecture, GPU and vRAM) will be recorded in the view metadata
-
tfSamplingMode: optional, defaults torepresentatives- Type: string
- Multivalued: False
- Choices:
representatives,single,all
Sampling mode for TimeFrame annotations. Has no effect when the app does not process TimeFrames. “representatives” uses all representative timepoints if present, otherwise skips the TimeFrame. “single” uses the middle representative if present, otherwise extracts an image from the midpoint of the start/end interval (midpoint is calculated by floor division of the sum of start and end). “all” uses all target timepoints if present, otherwise extracts all images from the time interval.
Outputs
(Note: “*” as a property value means that the property is required but can be any value.)
(Note: Not all output annotations are always generated.)
- http://clams.ai/vocabulary/type/TextDocument/v2
- document = “*”
- origins = “*”
- origination = “derived”
- mime = “application/json”
Reformatted chyron text, one per input TextDocument: a JSON string with three fields,
name-as-written,name-normalizedandattributes. Theoriginsproperty points to the input OCR TextDocument;documentis copied from it, or else is the ID of the sourceVideoDocument.