Go to documentation repository
A cross line detection tool is a VMDA detection tool that is triggered when an object crosses a virtual line in the camera's field of view.
To configure a cross line detector, do the following:
Note
Only one line can be added. The first line will be deleted if there is an attempt to add a second one.
Make the necessary operations with a line.
Operation | Result |
Left mouse click in the video surveillance window | Creation of a line’s end point |
Hover to an end point and holding the left button pressed move the mouse | Shift of a line’s end point |
Hover to an end point and click the right mouse button | A line’s deletion |
To select object type for which the detector will be enabled, click the
symbol. Available object types:Vehicle. Detector triggers when the line is crossed by an object which width is greater than height.
Note.
Detection of the following object types can be configured using scripts and registry keys: a human, a group of humans (with a possibility to count the number of people in a group), a vehicle, noise, an object carried into the area, an object carried out of the area, other objects. See also CAM_VMDA_DETECTOR VMDA detection.
More precise objects classification can be performed using the neural filter (see Configuring the neural filter).
To set the object color to be triggered by the detector, click the
To reset the selected color range to the default value, right-click in the palette area.
By default, the detection tool triggers on line crossing in both directions. Click the left mouse button upon one of the arrows to ignore crossing in one of the directions. The arrow will be colored gray.
Note
When just added, the arrow has minimum length.
The approximate speed of detected objects as a percentage of the frame per second is displayed near the arrow. Change the speed by moving the arrow head with pressed left mouse button and changing the arrow length. The detection tool is triggered when an object crosses the line in the selected direction with a speed that is approximately the same as the specified speed. At minimum and maximum value of speed the "?" sign will display and the fact of line crossing will be detected regardless of the speed.
In order for the detection tool to be triggered when object speed is less than the specified speed, specify the id of the detection tool in the VMDA.useSpeedLimitTypeLessThan parameter (for details on the key, see Registry keys reference guide).
In order for the detection tool to be triggered when object speed is greater than the specified speed, specify the id of the detection tool in the VMDA.useSpeedLimitTypeMoreThan parameter (for details on the key, see Registry keys reference guide).
Attention!
The same VMDA detector id can only be specified for either the VMDA.useSpeedLimitTypeLessThan or the VMDA.useSpeedLimitTypeMoreThan parameters. The simultaneous operation of both these parameters for the same VMDA detector is not allowed.
Note
It is necessary to set at least one direction of the object's movement across the line. If both directions of movement are set, the detection tool will be triggered when the object crosses the line in any direction.
Set the Generate alarm on camera checkbox (5), if the camera alarm should be generated when the detector triggers.
To save the changes, click the Apply button (8).
Note
To clear the preview field from a visual element (a line), click the Clear button (9).
A cross line detector is configured.