In the present scenario due to Covid-19, there is no efficient face mask detection applications which are now in high demand for transportation means, densely populated areas, residential districts, large-scale manufacturers and other enterprises to ensure safety. Also, the absence of large datasets of ‘with_mask’ images has made this task more cumbersome and challenging.
This system can be used in real-time applications which require face-mask detection for safety purposes due to the outbreak of Covid-19. This project can be integrated with embedded systems for application in airports, railway stations, offices, schools, and public places to ensure that public safety guidelines are followed.
The dataset used can be downloaded here - Click to Download
This dataset consists of 1006 images belonging to two classes:
- with_mask: 500 images
- without_mask: 606 images
- Download the files in this repository and extract them.
- Run Face_Mask_Detection.ipynb file first
- Running the above .ipynb file will generate Model.h5 file.
- Now Run Mask.py file
- Done.
NOTE: {
pip install opencv-python
pip install numpy
pip install keras
pip install tensorflow
To Fix/Install Modules }Feel free to mail me for any doubts/query :email: [email protected]
Made with ❤️ by Aryan Negi