Skip to content

Detection of the facial masks based on computer vision and deep learning using OpenCV and Tensorflow/Keras

License

Notifications You must be signed in to change notification settings

deepti-96/Face-mask-detection

Repository files navigation

FACE MASK DETECTION

Objective

A Face Mask Detector is developed using Keras, TensorFlow, MobileNet, and OpenCV in this Python programming project. We'll also look at how to do this using a live video camera. These sorts of models might be combined with CCTV cameras in the future to detect and identify persons without masks. There was no morphing masked picture dataset used in the face mask detector. The model is realistic, and because it is based on the MobileNetV2 architecture, it is also computationally efficient, making it easier to deploy to embedded systems (Raspberry Pi, Google Coral, etc.).
As a result, this technology may be utilized in real-time applications that need face-mask detection for safety reasons owing to the Covid-19 outbreak.
This project may be connected with embedded systems and used to guarantee that public safety rules are followed at airports, train stations, offices, schools, and public areas.

image

Tech-stack/Framework Used

• OpenCV
• Keras
• TensorFlow
• MobileNetV2

Considerations

This dataset consists of 3833 images belonging to two classes:
• with_mask: 1915 images
• without_mask: 1918 images

The images used were real images of faces wearing masks. The images were collected from the following sources:
• Google Search API
• Kaggle datasets
• RMFD dataset

Prerequisites

The file requirements.txt contains all the needed dependencies and libraries.

image

Final Remarks

We've developed a model that can identify if someone has worn a mask or not. These kinds of models may be deployed in public locations, allowing authorities to readily monitor the situation.

About

Detection of the facial masks based on computer vision and deep learning using OpenCV and Tensorflow/Keras

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages