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

  1. tensorflow >= 1.15.2
  2. keras == 2.3.1
  3. imutils == 0.5.3
  4. numpy == 1.18.2
  5. opencv-python == 4.2.0.*
  6. matplotlib == 3.2.1
  7. scipy == 1.4.1

Usage

  1. Clone the repository on your local machine.

  2. Open the terminal and navigate to the directory where the repository is cloned.

  3. Install the required packages using the command pip install -r requirements.txt

  4. Execute the detect_mask_video.py file using the command python detect_mask_video.py


License

This project is licensed under the MIT License - see the LICENSE file for details