Line Crossing
How it works
The Line Crossing rule generates an event when a target crosses a virtual line you draw on the scene. You can configure the line to trigger on a specific direction of travel, or in either direction. It applies to people, two-wheeled vehicles (bicycle, motorcycle), and vehicles (car, van, bus, truck). Typical uses include perimeter and boundary protection, detecting entry into a restricted zone, wrong-way movement, and directional counting of people or traffic.
How it detects
IRIS+ detects, classifies, and tracks each target as it moves through the scene. When the tracked target's path crosses the line in the direction you have configured, the rule generates an event with a short clip and a bounding box around the target that crossed. Because detection depends on tracking the target up to the moment it crosses, the target needs to be visible and tracked before it reaches the line. In very congested scenes, or where an object only appears after it has already crossed, the crossing may not be captured. Line Crossing can be combined with additional filters:
- Direction — trigger on one direction of crossing, or on any direction.
- Speed filter — for vehicles, only generate an event when the target crosses the line above a set speed (for example, alert when a vehicle crosses faster than 30 km/h in a given direction).
How to set up
- Open the camera you want to configure and add a new rule.
- Select Line Crossing as the rule type.
- Draw the line across the scene where crossings should be detected.
- Set the direction — a specific direction of travel, or either direction.
- Select which target types the rule should apply to (people, two-wheeled, vehicles).
- (Optional) Add a speed filter for vehicles
- Save and activate the rule. You can add more than one line and run it alongside other rules on the same camera, and schedule its active hours.
What to expect
- An event is generated each time a qualifying target crosses the line in the configured direction.
- Every event includes an event clip and a bounding box around the target.
- Direction matters: if a line is set to one direction only, crossings the other way are ignored.
- The target must be tracked before it crosses the line. Fast-moving objects in busy or congested scenes may occasionally be missed if they are not picked up in time.
- The same line-crossing mechanism underpins directional people and traffic counting.