Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.2 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.2 KB

FaceMask-Detection

⌛ DESCRIPTION

In the current situation due to Covid-19, there is no proficient face mask detection applications which are presently sought after for transportation implies, thickly populated zones, private regions, enormous scope producers and different endeavors to guarantee security. Additionally, the nonappearance of enormous datasets of 'with_mask' pictures has made this assignment progressively bulky and testing.

⚠️ TECHNOLOGY USED:

  1. OpenCV
  2. Caffe-based face detector
  3. Keras
  4. TensorFlow
  5. MobileNetV2

📁 Dataset

The dataset used can be downloaded here - Click to Download

This dataset consists of 3835 images belonging to two classes:

  • with_mask: 1916 images
  • without_mask: 1919 images

💡 Working

  1. Open terminal. Go into the cloned project directory folder and type the following command:
$ python3 train_mask_detector.py --dataset dataset
  1. Now detect the face masks in images
$ python3 detect_mask_image.py --image images/pic1.jpeg
  1. Detection in real-time video streams
$ python3 detect_mask_video.py 
<br>