Detection and Recognition of Masked Faces
Methods for recognition of masked faces were added in Face SDK 3.4. If you want to detect and recognize masked faces, use the video_worker_fdatracker_blf_fda.xml configuration file for detection and one of the configuration files for recognition below:
method9v30mask_recognizer.xmlmethod9v300mask_recognizer.xmlmethod9v1000mask_recognizer.xml
These are the configuration files for the methods 9.30, 9.300, and 9.1000 that were optimized to recognize masked faces. See more information about recognition methods and configuration files in Face Identification.
The options to turn on detection and recognition of masked faces in Face SDK are described below.
Using the pre-built video_recognition_demo sample
- When running video_recognition_demo, specify the configuration file
video_worker_fdatracker_blf_fda.xmlin the--vw_config_fileparameter. - [Optional] Specify one of the above recognition methods in the
--method_configparameter.
See the complete instructions and detailed info about the parameters in cpp/video_recognition_demo.
Building a sample from the source code
- Specify
video_worker_fdatracker_blf_fda.xmlin thevideo_worker_configparameter when you create aVideoWorkerobject (C++, C#, Java). - [Optional] Specify one of the above recognition methods in the
recognizer_ini_fileparameter. - Re-build the app.
See an example of creating a VideoWorker object and detailed info about the parameters in Tracking Faces.