Near miss detection¶
The Near Miss detection triggers an event if a moving object comes close to a Person. The maximum time and space between the two objects to trigger an alert is configurable.
Typical use case is detecting if a vehicle comes close to a pedestrian, possibly resulting in collision.
Tip
By default, Near Miss is configured to detect Person objects and vehicles - Bus, Car and Truck - that come close to Person objects. This can be changed; e.g. to detect if a moving Person comes close to a stationary vehicle.
-
Go to Video Search Advanced Search to set up a Search for near miss events.
-
Go to Live Rules New Rule to set up a real-time detection of near miss events with alarm integration.
Select Source¶
Select the video you want to run the Search on from the left sidebar. The thumbnail image of the chosen video is displayed here.
Time interval Advanced Search only¶

Select a time frame for the analytics to run.
- Entire video: Run the Search on the entire video duration, from the start timestamp to the end timestamp (set during video registration).
- Custom range: You can select a custom start and end date and time to run the Search on. Type the desired date and time or select them by clicking the calendar icon.
Object at risk¶

Select one or multiple object types you want to search for.
- Detection zone: Draw a polygon on the video frame to define the area where the objects will be detected. Left-click on the video frame to draw a polygon. Left-click again on the video frame to keep adding points to the polygon; double-click to finish drawing.
Drawing ROI is only supported on videos with a fixed camera angle (i.e. not on moving cameras). PTZ cameras are supported only in fixed position.
Note that currently only one ROI can be drawn.
- Sensitivity (Medium by default): The sensitivity level of the Search. The higher the sensitivity, the more likely it is to detect objects, but it may also result in more false positives.
Ticking the Expert Settings box will open additional configuration options for the Search, such as more object types to choose from.
Moving object¶

Select one or multiple object types you want to search for.
- Detection zone: Draw a polygon on the video frame to define the area where the objects will be detected. Left-click on the video frame to draw a polygon. Left-click again on the video frame to keep adding points to the polygon; double-click to finish drawing.
Drawing ROI is only supported on videos with a fixed camera angle (i.e. not on moving cameras). PTZ cameras are supported only in fixed position.
Note that currently only one ROI can be drawn.
- Sensitivity (Medium by default): The sensitivity level of the Search. The higher the sensitivity, the more likely it is to detect moving objects, but it may also result in more false positives.
Expert Settings
Ticking the Expert Settings box will open additional configuration options for the Search, such as more object types to choose from. Additional parameters:
-
Movement check interval (in seconds, 1 by default): How often the system checks whether the object has moved enough to be considered moving.
-
Movement tolerance (in pixels, 5 by default): The minimum distance the object needs to move between two movement checks to be considered moving.
Alarm integration Live Rules only¶
You can choose to integrate the Search with an alarm system.; whenever a stopped object is detected, an alarm will be triggered in the integrated system.
-
Alarm cooldown: (in seconds, 10 by default) The minimum amount of time that must pass between two detections before an alarm can be triggered again.
-
Alarm integration: Choose from the list of available integrations. The following integrations are available to be created in Integrations:
Results
All done - Clicking Search will immediately start the analysis and opens the Search Results screen.
Live Rules will produce real-time detections , and the results will be displayed in the Alarms screen. If an alarm integration is set up, an alarm will also be triggered in the integrated system.