Video detection module. Enables interaction with a camera.
Supported format are RGB, YUY2 and UYVY.
Works as a motion detector, light zones or dark zones.
Starts the detection process.
Stops the detection process.
List of detected video devices.
Gives the average luminance of the current frame.
Can be helpful for calibration and to adjust the threshold value.
Detection threshold and sensibility.
Determines if zones which are close together are grouped into a single zone.
Number of detected zones.
Array of 0 or 1 with a nb zone detected length.
For example if 3 zones are detected this output is the array [1,1,1].
X or Y position of all the zones. Array of single (0..1) which gives the position of each zone on the X or Y axis.
For example [0.23,0.67,0.96] is for a 3 zones detection, the first X or Y position is at 0.23 the second at 0.67 and so on.
Array of single which gives the surface of each zone. The surface is (width x height).
Coordinates of the barycenter of all the zones. It’s the average position.
Sends a 1 value if the Nth zone is detected.
Position of the Nth zone.
Surface of the Nth zone.