Video detection module for interaction with a camera.
Works as a motion detector, light zones or dark zones detection.
Example of 2 zones detected in motion mode:
Example where a sample is reversed when a zone is detected and where the horizontal position of the zone change the start position of the sample:
Video input flow(s).
Gives the average luminance of the current frame.
Detection mode.
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 found length.
For example if 3 zones are detected this output is the array [1,1,1].
X position of all the zones. Array of single (0..1) which gives the position of each zone on the X axis.
For example [0.23,0.67,0.96] is for a 3 zones detection, the first X position is at 0.23 the second at 0.67 and so on.
Y position of all the zones. Array of single (0..1) which gives the position of each zone on the Y axis.
For example [0.23,0.67,0.96] is for a 3 zones detection, the first 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 X of all the zones. It's the average position.
Coordinates of the barycenter Y of all the zones. It's the average position.
Sends a 1 value if the Nth zone is detected.
Position of the X Nth zone.
Position of the Y Nth zone.
Surface of the Nth zone.
version 4.1.201021 GWPD birthday
Edit All Pages