Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.75 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.75 KB

Face Mask Detection

Face Mask Detection System built with OpenCV, Keras/TensorFlow using Deep Learning and Computer Vision concepts in order to detect face masks in static images as well as in real-time video streams. This project aims at differentiating between those who wear a mask and not wear a mask.

TechStack/framework used

📁 Dataset

This dataset consists of 4095 images belonging to two classes:

  • with_mask: 2165 images
  • without_mask: 1930 images

Working

To detect face masks in an image type the following command in the terminal:

python detect_mask_image.py --image images/pic1.jpeg

To detect face masks in real-time video streams type the following command in the terminal:

python detect_mask_video.py 

Images

References