This program detects faces and then predicts if they are wearing mask. Red square represents 'No mask' and Green square represents 'Mask'
The model uses Keras Deep Learning and CNN. The dataset used to train the model contains 12,000 images. Link: https://www.kaggle.com/ashishjangra27/face-mask-12k-images-dataset
It uses OpenCV library to detect faces
To run the program, upload the IPYNB file on Kaggle notebook, and click Run All.
You can test the model on different images, either from a different kaggle dataset or custom images.