Detection and recognition of masked faces
Methods for recognition of masked faces are 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 Facial Recognition.
The options to turn on detection and recognition of masked faces in Face SDK are described below.
Use the pre-built video_recognition_demo sample
- When you run video_recognition_demo, specify the
video_worker_fdatracker_blf_fda.xmlconfiguration file in the--vw_config_fileparameter. - [Optional] Specify one of the above recognition methods in the
--method_configparameter.
See the complete instructions and detailed information about the parameters in cpp/video_recognition_demo.
Build 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 information about the parameters in Tracking Faces.