Skip to content

Detect a close approach

HOW-TO GUIDEWeb UI · EyesOnIt 6.1

Create an incident when two qualifying objects come close in a camera view. Combine distance with movement conditions when the task calls for an approaching pair.

Web UI: choose object pairs, set the distance, and save the close-approach rule.

Create two presence configurations in one region, as in the co-presence guide. Use names that identify their roles, such as Workers wearing PPE and People in work area. The rule evaluates distinct tracked objects.

  1. Open the region’s Rules and choose Close approach.
  2. Select Primary and Secondary.
  3. Set Distance mode to Image percent.
  4. Set Maximum distance. This demonstration uses 20.
  5. Set dwell, reset, severity, and schedule.
Web UI Close approach rule with primary and secondary configurations and image-percent distance settings.
Web UI: combine a qualifying pair with the distance relevant to your camera view. Enlarge image

Image percent measures the gap between the two detection boxes as a percentage of the frame diagonal. It is a view-based threshold. Tune it with examples from the part of the scene you want to monitor.

For a camera with ground-plane calibration, choose Calibrated meters to use a physical distance. Validate the calibration at several positions in the scene before setting the rule.

Turn on Require objects to be closing when the objects must be moving toward each other. Use Primary speed (px/s) and Secondary speed (px/s) to require movement from either participant. Leave them at 0 when stationary participants should qualify.

Test distance first, then add speed or closing requirements one at a time. Check objects approaching, separating, and briefly passing behind one another.

Choose Save configuration and review the resulting incidents. Confirm the pair and distance in the evidence before adding notification actions.

Image preview