Face Mask Detection

A Face Mask detection model to detect face masks in static images as well as in real-time video streams.

A Face Mask detection model to detect face masks in static images as well as in real-time video streams.

A Face Mask detection model to detect face masks in static images as well as in real-time video streams.

About the project

Face Mask Detection System uses Deep Learning and Computer Vision (OpenCV, Keras/TensorFlow) to accurately identify whether individuals are wearing masks in both static images and real-time video streams—supporting health and safety compliance through automated monitoring.

Face Mask Detection System uses Deep Learning and Computer Vision (OpenCV, Keras/TensorFlow) to accurately identify whether individuals are wearing masks in both static images and real-time video streams—supporting health and safety compliance through automated monitoring.

Face Mask Detection System uses Deep Learning and Computer Vision (OpenCV, Keras/TensorFlow) to accurately identify whether individuals are wearing masks in both static images and real-time video streams—supporting health and safety compliance through automated monitoring.


Project Details

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


Create a free website with Framer, the website builder loved by startups, designers and agencies.