Video Display Input

Navigation:  Widget Designer > Nodes > Input Nodes > Widgets Input >

Video Display Input

prev main next

Navigation:  Widget Designer > Nodes > Input Nodes > Widgets Input >

Video Display Input

prev main next

Loading...

The Video Input Display input node enables you to analyze the incoming video stream of a Video Input Display widget. Different regions can be set up to retrieve the average R, G and B values of a specific area. Additionally, a certain color can be set up to be detected within the region.

The node can be found under Nodes > Input Nodes > Widgets > Video Display Input

Or by right-clicking on the respective widget itself and selecting Create related Node teams> Video Display Input

wd_nodes_input_video-input

Node Properties

Display ID:
Enter the VideoInputDisplay ID.

Interval (ms):
Enter here the refresh interval for the incoming video stream.

Defining a region:
Select one out of the eight available regions from the drop-down.
When you click the Draw Region button left of the drop-down, you can draw a rectangle into the video feed corresponding to the selected region. The new region is automatically applied.

Selecting a color:
The eight color select buttons on top of the dialog correspond to the eight regions. Press on the respective color button to open a color picker and select a color.
Alternatively, select a region from the drop-down and press the Pipette button to extract a color directly from the video feed.

The currently selected region is indicated by a white frame around the color select buttons at the top of the dialog.

A number indicating the Match of the selected color within its region, as well as the regions' average R, G and B values are displayed below the color select buttons.

Node control

With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).

Enter "Node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255) colors the node in purple.
In addition, the node properties with a parameter ID (the small superscript number) can be edited via the command Node1.SetParam(ID,new Value) or WDNodeSetParam(NodeID,ParamID,Value).

Node output values

The node generates the following output separately for each region:

- AVG Red
- AVG Green
- AVG Blue
- Match