Skip to content

Mask detection program with live camera stream from the computer

Notifications You must be signed in to change notification settings

muhammadghazyy/mask_detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mask_detector

This is my first ML project. Wish me luck.

My aim is to create a simple python script that open live camera then giving a sign wether the mask is being used or not. My plan is to use tensorflow model and opencv to predict and detect faces. Perhaps I could put my work into a website so that people can try what I have done.

So far I have created

  • Machine Learning model that can detect people wearing their mask or not. I am using EfficientNetB7 mainly for the convolutional part of my model. And I am getting a pretty good accuracy with the model. But the size is too big and the parameters are to many. I also opted to use MobileNetv2 if I needed smaller model. I create the model using google colab.
  • OpenCV script that can detect faces. I am using Haar Cascade method to detect faces.
  • Script that can open the computer's webcam then detect faces + mask on or off.

To Do List:

  • Put the whole thing into a website. But I still don't know how to do this.

About

Mask detection program with live camera stream from the computer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published