Face Mask Recognition Using CNN 🔥
Face Mask Recognition Using CNN is a project that uses Convolutional Neural Networks to detect whether a person is wearing a mask or not. The model is trained on a dataset of 1500+ images of people wearing masks and 1500+ images of people not wearing masks. The model is trained on 80% of the dataset and tested on the remaining 20% of the dataset. The model is able to achieve an accuracy of 97% on the test set.
Requirements
- tensorflow >= 1.15.2
- keras == 2.3.1
- imutils == 0.5.3
- numpy == 1.18.2
- opencv-python == 4.2.0.*
- matplotlib == 3.2.1
- scipy == 1.4.1
Usage
-
Clone the repository on your local machine.
-
Open the terminal and navigate to the directory where the repository is cloned.
-
Install the required packages using the command
pip install -r requirements.txt
-
Execute the
detect_mask_video.py
file using the commandpython detect_mask_video.py
License
This project is licensed under the MIT License - see the LICENSE file for details