We constructed this program because there are so many people these days who underestimate the significance of wearing masks, and we thought that this is one of the biggest reason why COVID constantly spreads out. If there is a system that warns and reminds people to wear masks in a correct way, people might start to be cautious of their behavior, and minimize the droplet infection.

What it does

If a person in the photo that the user puts in is not wearing masks, there is a warning message that tells them " You are not wearing masks" and informs the danger of not wearing masks. It also detects if a person is wearing masks properly, and if a person is wearing bandana instead of masks. There are also warning messages if we detect those people.

How we built it

Using Clarifai, we trained the machine and added that API into OpenCV code using python language.

Challenges we ran into

There was a little bug in the mean time, but we could fix them.

Accomplishments that we're proud of

We are proud that the correctness is pretty high and that we actually created a system that warns the people not wearing masks properly.

What we learned

How to create an API and how to train the machine to recognize the simple image.

What's next for Mask Recognizer

We hope that we will be able to apply this system to live cam or security camera so that many public places can monitor people in this pandemic season.

Built With

Share this project: