DEV Community

Cover image for [Face Mask Detection - My major project]
Chandrika Deb
Chandrika Deb

Posted on • Updated on

[Face Mask Detection - My major project]

Face Mask Detector

Demo Link:

GitHub logo chandrikadeb7 / Face-Mask-Detection

Face Mask Detection system based on computer vision and deep learning using OpenCV and Tensorflow/Keras

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.

                               Python contributions welcome Forks Stargazers Issues LinkedIn

                                    Live Demo

👇 Support me here!

Buy Me A Coffee

😇 Motivation

Amid the ongoing COVID-19 pandemic, there are no efficient face mask detection applications which are now in high demand for transportation means, densely populated areas, residential districts, large-scale manufacturers and other enterprises to ensure safety. The absence of large datasets of ‘with_mask’ images has made this task cumbersome and challenging.

PPT and Project Report sharing costs ₹1000 ($15)

If interested, contact me at

🌟 Purchase on Gumroad

Project Demo

🎥 YouTube Demo Link

💻 Dev Link

Already deployed version

⚠️ TechStack/framework used


Our face mask detector doesn't use any morphed masked images dataset and the model is accurate. Owing to the use…

Built it using Caffe based face detector model along with MobileNetV2 for fine tuning using transfer learning. The dataset was made custom using Bing search API, RMFD and Kaggle datasets of real "with_mask" images. Used Python script with Keras, and TensorFlow as the backend.

This idea came in my mind mainly due to the current situation of Covid-19. Will be presenting this idea for my final presentation of my college semester in mid-June.

I love to write tech blog for beginners. You can visit them here:

Top comments (4)

chandrikadeb7 profile image
Chandrika Deb

Thanks 🙏🏻

suryavamsi6 profile image
Surya Vamsi

Does this work with multiple faces simultaneously?

chandrikadeb7 profile image
Chandrika Deb


suryavamsi6 profile image
Surya Vamsi

Cool, Thanks