To configure face detection tools, do as follows:
- Set the general Facial Recognition parameters.
- Configure a particular detection tool.
To configure shared Facial Recognition parameters, do as follows:
- Select the Facial Recognition object (1).
- If a camera supports multistreaming, select the stream for which detection is needed (2). Selecting a low-quality video stream allows reducing the load on the Server.
- If you need to enable recording of metadata, select Yes from the Metadata Recording list (3).
By default, the frame is compressed to 1920 pixels on the longer side. To avoid detection errors on streams with a higher resolution, it is recommended that compression be reduced (4).
Specify the minimum and maximum sizes of detectable faces in % of the frame size (5).
Set the face authenticity threshold required to activate the detector (6). The value is specified empirically in the range of [1, 100]. The higher this value, the fewer faces will be recognized, but the detection quality will be higher.
Set the time (in milliseconds) between face search operations in a video frame in the Face search period field (7). Acceptable values range: [1, 10000]. Increasing this value decreases the Server load, but can result in some faces being missed.
Enter the time in milliseconds after which the face track is considered to be lost in the Track loss time field (8). Acceptable values range: [1, 10000]. This parameter applies when a face moves in a frame and gets obscured by an obstacle for some time. If this time is less than the set value, the face will be recognized as the same.
Select a rectangular area to be searched for faces in the preview window. To select the area, move the intersection points .
- Click the Apply button.
Configuration of general parameters for Facial Recognition is now complete.
To configure detection, you should set the following parameters:
- Select a detection tool object (1).
- Set a color or color group for object detection (2). This is similar to the situation analysis configuration (see Configuring Detected Object Color).
- When configuring the Loitering detection tool, you should set the maximum time an object can stay in the zone. When the maximum time is exceeded, the detection tool is triggered (3). This value should be in the range [0, 3600].
- Set an area inside FoV for detection. This is similar to the situation analysis configuration (see Configuring the Detection Zone).
- Click the Apply button.
You have configured Facial Recognition now.