- In the time of Covid Pandemic WHO and Governments are enforcing people to follow some norms which aren't being followed by people. So to Keep a check on their and everyone's safety we could use this Face Mask Detection Technique.
- This Project is made using the OpenCV & TensorFlow in Python.
- Face Detection Classifier: Haarcascade.
- Works on Images, Recorded Videos & Live Feed.
- Haarcascade Frontal Face Github link.
- Face Mask Dataset Kaggle Link.
- model01 - Bigger Model (More Accurate)
- model099 - Smaller Model (Less Accurate)
- Haarcascade - Face Detection Model
- Detect Face using Haarcascade.
- Use the Trained Model to classify.
- In a Video:
- In an Image:
-
Method 1:
git clone https://github.com/priyanshu-bisht/FaceMaskDetection.git
open main.py in IDLE or in your favourite IDE
run the program
-
Method 2:
open the notebooks