To configure face detection tools, do as follows:
If you need to use this detection tool for real-time facial recognition, set the corresponding parameter to Yes (1, see Configuring real-time facial recognition).
If you need to save age and gender information for each recognized face, set Yes in the corresponding field (1).
Analyzed framed are scaled down to a specified resolution (7, 1920 pixels on the longer side). This is how it works:
If the longer side of the source image exceeds the value specified in the Frame size change field, it is divided by two.
If the resulting resolution falls below the specified value, it is used further.
If the resulting resolution still exceeds the specified limit, it is divided by two, etc.
For example, the source image resolution is 2048*1536, and the specified value is set to 1000. In this case, the source resolution will be halved two times (down to 512*384), as after the first division, the number of pixels on the longer side exceeds the limit (1024 > 1000). |
If detection is performed on a higher resolution stream and detection errors occur, it is recommended to reduce the compression. |
Specify the minimum and maximum sizes of the captured faces as a percentage of the frame size (8).
In the Minimum threshold of face authenticity field, set the minimum level of face recognition accuracy for the creation of a track (9). You can set any value by trial-and-error; no less than 90 is recommended. The higher the value is, the fewer faces are detected, while the recognition accuracy increases.
Select the processor for the face detection − CPU or NVIDIA GPU (10) (see General Information on Configuring Detection).
It may take several minutes to launch the algorithm on NVIDIA GPU after you apply the settings. |
If you use FaceCube integration (see Configuring FaceCube integration), activate the Send face image parameter (11).
Enter the time in milliseconds after which the face track is considered to be lost in the Track loss time field (12). Acceptable values range: [1, 10000]. This parameter applies when a face moves in a frame and gets hidden behind 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 anchor points .
Configuration of general parameters for Facial Recognition is now complete.