Please wait. Due to its content this page might take a while to load...
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
Enter the VideoInputDisplay ID.
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.
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.
The node generates the following output separately for each region:
- AVG Red
- AVG Green
- AVG Blue