Mask-Net is an IOT device that can be easily attached with existing cameras or surveillance system for effective mask-based detection system. It consists of a Raspberry Pi, webcam and an Ultrasonic sensor. The device uses advanced Machine Learning models to detect whether a person is wearing a mask or not with an accuracy of 90-95%.
- Raspberry Pi
- Webcam
- Ultrasonic sensor
- Speaker
- LEDs
- Jumper wires
- Android app (Java)
- Login Screen
- Sign up using face
- View Penalties
- Pay Penalities
-
Backend:
-
Database (SQLite, MongoDB)
-
Framework (TensorFlow, Keras, OpenCV, SKLEARN)
-
Server (Fast Api)
-
Cloud provider (Microsoft azure)
-
Cloud Technology (Azure Virtual Machine Server)
-
Admin Dashboard
- The ultrasonic sensor detects movement and triggers the camera to capture an image of the person at a distance of 100cm.
- The captured image is sent to the cloud server where the mask detection algorithm checks if the person is wearing a mask or not.
- If the algorithm detects the mask, a green light will light on the Raspberry Pi, and the image is stored in the database as a record.
- In the event of no mask being worn, a red light will glow, a buzzer will beep, and the admin will receive an SMS containing the picture of the person.
- The device also has an Android app and website for the admin, which includes features such as user authentication, display of all the events such as MASKED, UNMASKED, and Suspicious events with accurate photo of the person and time stamp.
Looking at the current pandemic situation, the aim of this project is to develop a software system to maintain people’s safety and to awaken people and introduce mask as new normal in their life. The device is particularly useful for monitoring employees without masks and sending them reminders to wear a mask at office premises. The ultimate goal is to prevent the spread of the corona virus.
- Install the latest version of Python on your device.
- Install the required libraries and frameworks by running
pip install -r requirements.txt
- Configure the device settings in the
config.py
file. - Run the main script by executing
python main.py
We welcome contributions to this project. If you are interested in contributing, please fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.
We would like to acknowledge the following for their support and contributions to this project: