FindSingleColorFrames¶
ID: Multimedia/FindSingleColorFrames
This template finds any monochrome frames in a video stream, based on the RGB color channels. Returns the total number of monochrome frames found and generates a binary signal in which the timestamps of their occurrence are marked. The optional color tolerance value is applied to each color channel individually.
Signals¶
Video¶
The video stream to be analyzed.
Direction: IN
Optional: False
MonochromeFrameFound¶
Binary output signal, value is set to 1 if a monochrome video frame is found.
Direction: OUT
Optional: False
Parameters¶
FilterMask¶
(optional) Filter mask to be applied on video frames. This limits the area of the frames which will be evaluated.
Direction: IN
HighlightFilterMask¶
(optional) Whether to highlight the filter mask in the report images. Enabling this boolean option shows a red colored border around the mask area.
Direction: IN
ColorRGB¶
(optional) A 3-tuple for a specific RGB color, default empty tuple, range 0 .. 255 for each channel.
If set to any valid color the template will only look for single-colored frames of this particular color. Otherwise all possible colors will be considered.
Direction: IN
ColorTolerance¶
(optional) Tolerance value to detect monochromaticity, default 0, range 0 .. 255.
NOTE: The given tolerance value will be applied as an upper and lower edge for the color channel value of each pixel, e.g. for a given red color value of 128 a tolerance of 10 will include shades of red from 118 to 138.
Direction: IN
MaximumImagesInReport¶
The maximum number of detected video frames to be displayed in the report per trigger range, default 10.
Increasing this number can slow down report generation and display time.
Direction: IN
TotalFramesFound¶
Number of found monochrome video frames across all trigger ranges.
Direction: OUT