Hawkeye Vision Model: AI-enabled Mask Wearing Detection

Image for post
Image for post

Project Introduction

In today’s world, one of the common issues that people are facing is to remain safe while being in crowded places. This problem was exacerbated when COVID-19 struck major cities in the world, forcing city dwellers to adapt to the new norm, such as wearing masks and frequently washing hands with soap.

Target Problems

In certain regions, mask wearing may be compulsory for crowded places such as workspaces or in public transits. Our project aims to help teams better enforce this requirement by identifying those who do not abide to the rules, and alert teams.

Solution

We are planning to implement the above concept by splitting it into 3 modules. The first module is to detect if a person/employee is wearing a mask or not from a webcam/video. The second module is to identify the person from the image and store the employee information such as employee id, name into a database or any file. Here we don’t have any employee records so we will use the image of celebrities found online, and map it with their name and store it in a database or file (.csv or .txt file).

Image for post
Image for post
Flow Diagram of Face Mask Detection
Image for post
Image for post
Architecture of Face Mask Detection
Image for post
Image for post
Nomask Detect (Image Source: Wikipedia)
Image for post
Image for post
The person has a mask (Image Source: Pinkvilla)
Image for post
Image for post
An email with attachment from Python

Alibaba Cloud Products Used

Technology highlights

We used Alibaba AI API and Alibaba ECS to build the Machine Learning models using python language to detect the face and face mask in an image and detect the name of the person using it.

Future Enhancement

We are planning to implement the above concept with different/multiple kind of datasets and models. We are also planning to add another module to determine the social distancing.

About the Team

Vivekanandhan M.Alibaba Cloud MVP — Artificial Intelligence

Original Source:

Written by

Follow me to keep abreast with the latest technology news, industry insights, and developer trends.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store