Predicting whether a person is wearing a mask or not using the intelligent tensorflow library.
Use the package manager pip to install tensorflow, numpy, matplotlib, sklearn etc.
pip install tensorflow
pip install numpy
pip install matplotlib
pip install sklearn
Large dataset with two folders, one with images of face with mask and other without mask. NB: you can get it from kaggle
Train the model first by running the file
training_detector.py
Then test it by running the file
detect_mask_video.py
Result is almost accurate, and also detects if more than one person is there in the frame