Calls and email answered 24/7/365 · An HSM Company contact@hsmservices.ca 1 800 716 8955

Glossary

Line crossing

A video analytics rule that raises an event when a person or vehicle crosses a virtual line drawn on the camera image, optionally in one direction only.

What it means

Line crossing is one of the most useful video analytics rules. In the camera or VMS setup screen, you draw a virtual line across the image: along a fence, across a driveway, at the edge of a loading dock. When a tracked object crosses that line, the system raises an event. That event can trigger a recording, a notification, a light or speaker, or an alarm to a monitoring centre.

Most systems let you add filters:

  • Direction: only A to B, only B to A, or both. Entering a yard after hours matters; leaving it may not.
  • Object class: only people, only vehicles, or both, using object classification.
  • Schedule: active only when the site is closed or a partition is armed.
  • Size: ignore objects too small or too large to be the target.

Why it matters

Basic motion detection triggers on anything that changes in the image: tree branches, shadows, rain, headlights. Line crossing with classification triggers only when a person or vehicle actually crosses a defined boundary, which cuts false alarms dramatically and makes alerts worth acting on.

Drawing good lines

  • Draw the line where the target is large enough in the image to be classified reliably, not at the far edge of the view.
  • Keep lines away from swaying trees, flags and reflective surfaces.
  • Draw the line across the path of travel, not parallel to it. Objects walking along a line may be counted erratically.
  • Use two lines in sequence, or combine with an intrusion zone, for higher confidence at sensitive perimeters.
  • Test with a person walking the route in daylight and at night, and review false alarms for the first few weeks.
Line crossing rule Virtual line along fence Outside (A) Inside yard (B) Alert: A to B No alert
Diagram Only an object that crosses the line in the chosen direction raises an event; people moving outside the fence are ignored.

Guides that cover this