- Tensorflow
- Keras
- Numpy
- Sklearn
- mtcnn
- OpenCV
- Pandas
- Matplotlib
- Seaborn
- Download the zip file of this repo or clone the repo
- (optional) make a new environment
pip install -r requirements.txt
- If model is not available Download the h5 file from here and move it to the working directory
- Open terminal and change the directory to the downloaded unzipped folder
- Run the below command
python face_detection_and_classification.py
- Face Mask Detection will be done in real-time
- Upload
face_mask_detection.ipynb
file on google colab - Download the api key from kaggle
- Run all the cells