FaceMaskDetect

Welcome to Francesco, a machine learning face mask detection system that uses a software stack in python, Tensorflow, Keras API and OpenCV! Francesco can also be applied on many embedded systems as it also uses MobileNet: Efficient Convolutional Neural Networks for Mobile Vision Applications. I would like to state that I worked on this project before INIT MLH 2022

The main concept that francesco uses is that of a convolutional neural network, or CNN for short, a neural network that uses convolution, usually for analyzing images. It starts by applying filters that can help distill some features of the image using different kernels. These filters can be improved in the same way as other weights in the neural network, by adjusting their kernels based on the error of the output. Then, the resulting images are pooled, after which the pixels are fed to a traditional neural network as inputs (a process called flattening).

It then feeds the model into openCV where it uses my laptop's webcam (or any camera attached to the main program for that matter) to detect whether a person is wearing a mask or not in real time!

I hope you enjoy the demo!

FUN STORY TIME

So when I was back home, I kept forgetting about wearing my mask (which is very bad an you can get penalties for it). This was in 2020 and it was really bad with COVID around. In order to prevent myself from actually getting fined, I built this system using Tensorflow, Keras API and OpenCV on Python, and hooked it up to a robotic system that locks or unlocks the door (provided you are wearing the mask and my camera, hooked up to the software stack detects you are wearing one)

Built With

Share this project:

Updates