Skip to content

Real time face-mask detection using Deep Learning and OpenCV

Notifications You must be signed in to change notification settings

bugaje/Real_time_facemask_detection

Repository files navigation

Real_time_facemask_detection

Real time face-mask detection using Deep Learning and OpenCV

This project uses a Convolutional Neural Network, to differentiate between images of people with mask and without masks. The CNN manages to get an accuracy of 96.7% on the training set and 97.2% on the test set. Then the stored weights of this CNN are used to classify as with mask or no mask, in real time, using OpenCV. With the webcam capturing the video, the frames are preprocessed and and fed to the model to accomplish this task.

The model is capable of predicting multiple faces with mask or without masks at the same time.

WITH NO MASK 1 no_mask1 WITH NO MASK 2 no_mask2

WITH MASK 1 with_mask1 WITH MASK 2! with_mask2

About

Real time face-mask detection using Deep Learning and OpenCV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published