- Detects and highlights a face using your device camera
- Detects if the face has a mask on or not
- Displays feedback as shown below
Original can be found here
All pre-trained deep neural network models used are in the models
folder.
The datasets used to train the modules can be found here.
Dataset details:
- 2165 images with a mask
- 1930 images without a mask
git clone https://github.com/helich0pper/DetectFaceMask.git
cd DetectFaceMask
pip install -r requirements.txt
python detect_mask.py
- Always wear a mask in public. Stay safe!