Heuristic Chyron Understanding (v0.2)

About this version

About this app (See raw metadata.json)

Prototype to convert chyron text from docTR/Tesseract/LLaVA MMIF outputinto a name and list of attributes.

Inputs

(Note: “*” as a property value means that the property is required but can be any value.)

Configurable Parameters

(Note: Multivalued means the parameter can have one or more values.)

  • note4mode: optional, defaults to false

    • 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-normalized value. The default is false, which means the app will try to generate normalization fromname-as-written (from the first line) value.

  • pretty: optional, defaults to false

    • 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 to false

    • Type: boolean
    • Multivalued: False
    • Choices: false, true

    The running time of the app will be recorded in the view metadata

  • hwFetch: optional, defaults to false

    • Type: boolean
    • Multivalued: False
    • Choices: false, true

    The hardware information (architecture, GPU and vRAM) will be recorded in the view metadata

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://mmif.clams.ai/vocabulary/TextDocument/v1
    • document = “*”
    • origin = “*”
    • provenance = “derived”
    • mime = “application/json”

    Reformatted chyron text. document property stores the ID of the original source VideoDocument. origin property stores the ID of the original OCR TextDocument annotation. Reformatted text is escaped JSON string with three fields: name-as-written, name-normalized, and attributes.