For the complete documentation index, see llms.txt. This page is also available as Markdown.

Line Crossing Detection

Detect or count objects that cross a defined line, and generate an event.

Line crossing detection can be used to detect or count objects which cross a defined line. The postprocessor works by tracking objects through the frames, and detect when this object crosses a line, and the direction.

Line Crossing Detection postprocessor settings panel
Line Crossing Detection settings

Use the Nx Meta interface to draw a line on the video frame and click Apply for changes to take effect.

Drawing a crossing line on the video frame in the Nx Meta interface

When a crossing is detected, an event is generated. This event can be configured to trigger any action, see adding event rules.

Event Rules configuration for a Line Crossing Detection event
Line Crossing Detection event configuration

Select the Line Crossing Detection postprocessor and click Apply before creating the event.

Line Crossing Detection is compatible with any model which generates bounding boxes.

Last updated