Inspiration
Like a series of waterfalls, the OpenCV cascade breaks the problem of detecting faces into multiple stages. For each block, it does a very rough and quick test. If that passes, it does a slightly more detailed test, and so on. The algorithm may have 30 to 50 of these stages or cascades, and it will only detect a face if all stages pass. So why not detect mask with the same?? ,
What it does
Since face detection is such a common case, OpenCV comes with a number of built-in cascades for detecting everything from faces to eyes to hands to legs. There are even cascades for non-human things. Using the same face recognition tactics, the following project is able to detect if the face is covered with mask or not.
How I built it
Python with OpenCV grabs each frame from the webcam, and you can then detect faces by processing each frame. And then detect the presence of mask. Thus, tells u to wear a mask or not. Pretty cool!
Challenges we ran into
It was my first time working on a computer vision project. Faced issues while connecting the webcam to the algorithm then sync and run smooth.
Accomplishments that we're proud of
Successfully completing the project on time and now knowing computer vision is so cool.
What we learned
Learned OpenCV, Python, Numpy.
What's next for MaskUP
Might modify and add more cool features to the same.
Log in or sign up for Devpost to join the conversation.