Skip to content

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

Notifications You must be signed in to change notification settings

DiouaneAbdallah/face-mask-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

face-mask-detection

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

Open In Colab

This project uses a Deep Neural Network, more specifically a Convolutional Neural Network, to differentiate between images of people with and without masks. The CNN manages to get an accuracy of 99.8% on the training set and 99.2% on the test set.

Then this CNN are used to classify as mask or no mask, using OpenCV.

📁 Dataset

The dataset we’ll be using here was created by Prajna Bhandary.

This dataset consists of 1,376 images belonging to two classes:

with_mask: 690 images without_mask: 686 images

🎯 Results

Our model gave an accuracy of 99.8% on the training set and 99.2% on the test set.

We got the following accuracy/loss training curve plot

results

🔍 test the model

With Mask

With Mask results

No Mask

No Mask results

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published