Using the pretrained OpenCV’s deep learning face detector which is based on the Single Shot Detector (SSD) framework with a ResNet base network and CNN + Binary Classifier trained on RMFD dataset, the program identifies whether people are wearing a mask.
python scripts/face_detection_video.py --prototxt models/deploy.prototxt.txt --model models/res10_300x300_ssd_iter_140000.caffemodel --saved checkpoint/
pip install --upgrade pip
pip install tensorflow
pip install matplotlib
pip install opencv-python
pip install imutils