AnnotateVideo

ID: Multimedia/AnnotateVideo


This is a template for annotating videos with the results of preceding video analyses, such as the matches from an image-in-image search.

Signals

InputFrames

The video signal that shall be annotated.

  • Direction: IN

  • Optional: False

Matches

A signal of MatchList[ImageMatch] objects, as returned by the trace step template FindImage.

  • Direction: IN

  • Optional: True

OutputFrames

The output video signal.

  • Direction: OUT

  • Optional: False

Parameters

OutputFilename

Name of the video file to be written. If not specified, ‘AnnotatedVideo’ will be used. If the file already exists, continuous numbering will be applied.

  • Direction: IN

Mask

A mask to be visualized. The Mask object can be constructed from a mask file path. Alternatively, api.DataBrowser.BrowseMultimedia(deviceKey) can be used.

  • Direction: IN

MaskColor

An RGBA color value for the mask visualization. The default value of (0, 0, 0, 128) applies a black shading to the region outside of the mask with 50 % opacity.

  • Direction: IN

MatchColor

An RGB color used for visualizing image matches.

  • Direction: IN