Few Shot Classifier (v1.0)

About this version

About this app (See raw metadata.json)

This tool uses a vision model to classify video segments. Currenly supports “chyron” frame type.

Inputs

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

(any properties)

Configurable Parameters

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

  • timeUnit: optional, defaults to frames

    • Type: string
    • Multivalued: False
    • Choices: frames, milliseconds

    Unit for output timeframe

  • sampleRatio: optional, defaults to 30

    • Type: integer
    • Multivalued: False

    Frequency to sample frames.

  • minFrameCount: optional, defaults to 60

    • Type: integer
    • Multivalued: False

    Minimum number of frames required for a timeframe to be included in the output with a minimum value of 1

  • threshold: optional, defaults to 0.8

    • Type: number
    • Multivalued: False

    Threshold from 0-1, lower accepts more potential labels.

  • finetunedFrameType: optional, defaults to chyron

    • Type: string
    • Multivalued: False

    Name of fine-tuned model to use. All pre-installed models are named after the frame type they were fine-tuned for.

    If an empty value is passed, the app will look for fewshots.csv file in the same directory as the app.py and create a new fine-tuned model based on the examples in that file.

    At the moment, a model fine-tuned on “chyron” frame type is shipped as pre-installed.

  • 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

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.)