Configuration of the VI detection of camera state module includes general settings and configuration settings: configuration parameters and detector characteristics.
General settings
- Go to the settings panel of the VI detection of camera state 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 the 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.
- Set the Use GPU checkbox to use the NVIDIA GPU when you work with the neural network.
- Set the Show objects on image checkbox to outline the detection zone with a red frame on the Video surveillance monitor when an event of a camera state change occurs.
- 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. As a result, the detector settings window opens.
The Parameters tab
- Go to the Parameters tab of the detector settings window. This tab displays the parameters of the used configuration. If you don't need to change the configuration, skip steps 2 and 3 and go to the next tab.

- To use 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 Camera state detection tab
- Go to the Camera state detection tab.

In the Flare response time (s) field, specify the time interval in seconds after which the detector signals whether the video surveillance scene is backlighted or darkened.
In the Defocus response time (s) field, specify the time interval in seconds after which the detector signals that the video surveillance scene is defocused.
- In the Number of analytics streams field, specify the number of video streams that are used for the neural network analytics. The default value is 4.
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 detection of camera state object.
Configuring the VI detection of camera state module is complete.