Configuration of the VI abandoned objects detection program module includes general settings and configuration setup: determining the configuration parameters and detector characteristics.
General settings of the detector
- Go to the settings panel of the VI abandoned objects detection object that is created on the basis of the Camera object on the Hardware tab of the System settings window.

- In the Frames processed per second [1, 100] field, specify the number of frames in the range 1–100 that the detector processes per second. The default value is 12 (recommended). You can specify only a positive integer. If you enter a number outside the range 1–100, it is automatically changed to the nearest border value. If you leave the field blank, it automatically returns to the default value when you save the settings.
- In the Scale frame to (px) field, specify in the range 480–1920 the width of the frame in pixels after scaling. The height of the frame is calculated automatically as the value specified in the setting, divided by 1.77777(7). The default value is 640, that is, the frame size after scaling is 640x360. The setting doesn't affect the resolution of the video stream and is used to reduce the load on the CPU, it is displayed in the logs and in the debug window.
- Set the Use GPU checkbox to use the NVIDIA GPU when you waork with the neural network.
- Set the Show objects on image checkbox to outline the detection zone with a red border on the Video surveillance monitor when an object detection event is received.
- From the Detection filtering drop-down list, select the filter that you want to use: Object filter, Object counting filter, Do not use filter (default). You can configure filters on the Postprocessing tab of the Detection settings window.
- Click the Configuration setup button. The detector settings window opens.
The Select area tab
- In the Detection settings window, on the Select area tab, click the Stop video button to pause video playback.

- By default, one detection zone is outlined with a red border. You can add more zones with the mouse, as well as change the borders of a zone by clicking its number in the list on the right and highlighting it in blue color.

- To rename a detection zone, enter a new name in the field to the right of its number. The new name appears in the zone caption on the video image.
- To save all changes, click the Apply configuration changes button.
- To start video playback, click the Start video button.
The Parameters tab
- Go to the Parameters tab of the detector settings window. The tab displays the parameters of the used configuration. If you don't want to change the configuration, skip steps 2 and 3 and go to the next tab.

- To use the custom configuration, click the Load configuration from file button.
- In the standard Windows search window that opens, specify the path to the prepared configuration file in JSON format.
The Abandoned objects detection tab
- Go to the Abandoned objects detection tab.

- Clear the B/w mode checkbox to disable the black and white mode. By default, the checkbox is set.
- In the Initial detection sensitivity [0, 1] field, specify the general sensitivity of the detector to detect abandoned objects in the range 0-1. The 0 value—no object is detected. The 1 value—maximum sensitivity. The default value is 0.70.
- In the Sensitivity of primary detection in the foreground [0, 1] field, specify the sensitivity of the detector to detect abandoned objects in the foreground in the range 0-1. The 0 value—no object is detected. The 1 value—maximum sensitivity. The default value is 0.70.
- In the Object visibility [0, 1] field, specify in fractions the sensitivity of the detector to detect barely visible, merging with the background objects in the range 0-1. The higher the value of the parameter, the less noticeable an object can be detected. The recommended value (default) is 0.95.
- In the Passenger traffic density [0, 1] field, specify the sensitivity of the object detection in conditions of intensive overlapping of the object by people passing in the camera FOV in the range 0-1. The default value is 0.99.
- In the Minimum size of detected object field, specify in centimeters on one side the minimum allowable size of an object that you want to detect. You must specify the size of an object relative to the frame. Smaller objects don't trigger the detector. The default value is 20.
- In the Maximum size of detected object field, specify in centimeters on one side the maximum allowable size of an object that you want to detect. You must specify the size of an object relative to the frame. Larger objects don't trigger the detector. The default value is 185.
- In the Dead time (s) field, specify the time interval in seconds during which the occurrence of a repeated event is blocked. An event is considered repeated if its event intersection level is equal to or greater than the value specified in step 10. The default value is 0.
- In the Events intersection level field, in the range 0-1, specify the level representing the way the repeated events are filtered. An event is considered repeated if the ratio of the intersection area to the area of the conjunction of two events is greater than or equal to the value specified for this parameter. The default value is 0.01. This parameter value is used in the Dead time parameter.
- In the Detection time (s) field, specify the time interval in seconds after which an object is considered abandoned. The default value is 120.
- Clear the No person checkbox so that objects near people are also detected. By default, the checkbox is set, which means that objects near people are ignored.
- Clear the Filter objects checkbox to disable the neural network filter of objects. By default, the checkbox is set, which means that the neural network filter is enabled.
- Clear the Background loading checkbox to disable the loading of the video background. By default, the checkbox is set. After restarting, the detector loads the previously saved background, not to retrain the network model.
- Clear the Background saving checkbox so that the background isn't saved. By default, the checkbox is set, which means that the background of the video is saved regularly with the periodicity specified in the Background saving period field. When you shut down the detector, the previously accumulated background is saved to a file for subsequent loading at startup.
- In the Background saving period field, specify the time period in seconds for which the background of the video is saved. The default value is 0.
- In the Number of analytics streams field, specify the number of video streams that are used for the operation of the neural network analytics. The default value is 4.
The Additional settings tab
- Go to the Additional settings tab.

- Configure the false alarm filtering:
- From the Neural network filter mode for "phantom" triggers drop-down list, select which operation mode of the neural network filter mode for "phantom" triggers (false detections that appear when the detector operates on empty areas of the frame) you want to use:
- Precise (default) works slower, puts more load on the system, but the probability of the "phantom" triggers is significantly decreased;
- Fast works faster, puts less load on the system, but the probability of the "phantom" triggers increases.
- In the Power of neural network filter for "phantom" triggers field, specify the filtering level of the monotonous or monochromatic triggers, for example, spots on the floor connected with lighting change in the range 0-100. The value of the parameter is selected empirically, the recommended (default) value is 8 for the precise mode and 0.3 for the fast mode. If you change the mode, the optimal value is set automatically.
- In the Power of filter for "phantom" triggers field, specify the filtering level of shadows and flares depending on the scene contrast, lighting change, presence of shadows and flares. The value of the parameter is selected empirically, the default is 1.
- Perform the advanced settings:
- In the Training period (s) field, specify the time in seconds during which the detector analyzes the scene. The longer the training process, the better the subsequent analysis. The recommended duration is from 15 to 30 seconds, 25 by default. The training quality depends on the "clarity" of the scene when the analytics is enabled: if the scene is noisy or the passenger traffic is too dense, we recommend increasing the period up to 5 minutes.
There are three modes of configuring the training period:- Automatically—automatic selection of the training period depending on other settings, equal to the -1 value;
- Manually—training period is set manually;
- Disabled—detector training is disabled. Equal to the 0 value.
- In the Post-training period (s) field, specify the time in seconds during which the detector "adapts" to the scene. If you disable the parameter, the false triggers can occur during the first minutes of the detector operation due to the algorithm peculiarity. It doesn't affect the quality of the subsequent analysis. There are three modes of configuring the post-training period:
- Automatically—automatic selection of the post-training period depending on other settings, equal to the -1 value;
- Manually—post-training period is set manually;
- Disabled—detector post-training is disabled. Equal to the 0 value.
- In the Frame sampling period (ms) field, specify the frame sampling rate for training in milliseconds. The default value is 67.
- In the Sampling rate [32, 256] field, specify the allowable margin of error for training results. The lower the value, the worse the training results. The recommended value is from 85 and greater. The default value is 128.
The Postprocessing tab
You can use this tab to configure object filters or object counting filters according to the option selected from the Detection filtering drop-down list in the basic settings of the detector.
Object filter
- To enable the object filter, select Object filter from the Detection filtering drop-down list in the basic settings of the detector.
- Go to the Postprocessing tab.
- From the Object filter list on the left, select one or more objects. If these objects are detected in the frame, the detector events are filtered. The events aren't displayed in the event viewer and on the screen.

- To apply the filter, click the Apply filter configuration button.
Object counting filter
- To enable the object counting filter, select Object counting filter from the Detection filtering drop-down list in the basic settings of the detector.
- Go to the Postprocessing tab.
- Click the Add count filter button. In the section on the right, select one or more object counting filters.

- In the Min and Max fields, set the lower and upper threshold values for each object counting filter. If the number of objects of a given type in the detection area is within this range, the detector generates an event that is also displayed in the event viewer and on the screen. If the number of objects is greater or less than the set range, or there are no objects at all, then all events are filtered out and aren't displayed in the event viewer or on the screen.
- To apply the filter, click the Apply filter configuration button.
Click the OK button to save all settings of the detector. The Detection settings window closes, and you return to the detector settings panel.
To save all changes, click the Apply button on the settings panel of the VI abandoned objects detection object.
Configuring the VI abandoned objects detection program module is complete.