KrishArul26 / Smart-Way-Gate-Monitoring-System-for-Supermarket-Due-to-the-Covid-19-Period-using-AI--Live-Streaming

This project is related to whether the person is carrying a rolling basket as well as wearing a mask with them into entering the supermarket or else. The system will generate an alert in terms of sound as well as text.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smart Way Gate Monitoring System for Supermarket Due to the Covid-19 Period using AI- Live Streaming

Introduction

Due to the COVID-19 restriction nowadays people have to carry baskets to enter the supermarket and they have to wear a mask so that they can enter the supermarket, this restriction is ensured by security. So, to make this process easier, I created a system where, first, it would find a man, and then it would find the mask and the basket. Also, this system will generate a warning based on sound and text if people do not carry a basket or without wearing a mask. Also, it will show the reliability value of the prediction in a live stream. So, if this project is integrated with the door opening system, we can control the automatic route of people for this Covid-19 time.

Rolling Basket Detection / Face Mask Detection / OpenCV / Keras / TensorFlow / Deep Learning / Computer Vision / Transfer Learning / SSD-Mobilenet-V1 / labelimg / GPU / Google Colab

πŸ“ Data Collection

This project has done up to 60000 epochs with error 0.09 values.Futher, 3100 images were collected among them 1000 images are without mask, 1200 images are with mask and 900 images are basket.

                * With Mask: 1200

                * Without Mask: 1000

                * Basket: 900

Sample of basket images

πŸ”‘ Prerequisites

  • All the dependencies and required libraries are included in the file requirements.txt

  • Python 3.6

πŸš€ Installation For Smart gate Monitoring system for images

  1. Clone the repo
git clone https://github.com/KrishArul26/Rolling-Basket-Mask-detection-for-Supermarket-using-SSD-MobilenetV1.git

  1. Change your directory to the cloned repo
cd Rolling-Basket-Mask-detection-for-Supermarket-using-SSD-MobilenetV1
  1. Create a Python 3.6 version of virtual environment named 'mask' and activate it
pip install virtualenv

  • Create virtual environmental
virtualenv basket

  • Activate that environmental
basket\Scripts\activate

  1. Now, run the following command in your Terminal/Command Prompt to install the libraries required
pip install -r requirements.txt

πŸ’‘ Working

  1. Open terminal. Go into the cloned project directory and type the following command:
cd Rolling_basket_Mask_Detection_image
python mask_basket_detection.py

Testing-1

Testing-2

Testing-3

Project Circumstances

In this project, I only collected 900 overall basket images, but in fact, we need to collect more basket images depend on the domain where to be implemented in the system as well as should focus on different age categories.

About

This project is related to whether the person is carrying a rolling basket as well as wearing a mask with them into entering the supermarket or else. The system will generate an alert in terms of sound as well as text.


Languages

Language:Python 53.3%Language:Jupyter Notebook 46.7%