Skip to content

snjydas/Alertio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Alertio

Covid-Guard

An AI model to detect if people are following social distancing & wearing masks for safety. Covid Guard logo


Content

Folder structure


📁 Covid Guard
          📁 Demo
          📁 Face Detector
          📁 Images
          📁 Model
          📁 Output
          --Covid Guard.py
          --Home.py
          --main.py
          --requirements.txt
          --running_video_file.py.py
          --video_recorder.py

  |__ Demo
    |______ Images: [Demo1.jpeg, Demo3.png, Demo4.png, Interface.PNG, Code Snippet.PNG]
    |______ GIFs: [Gif_1.gif, Start.gif, Gif_2.gif]      

  |__ Face Detector
    |______ deploy.prototxt
    |______ res10_300x300_ssd_iter_140000.caffemodel

  |__ Images
    |______ [background.jpg, Load.gif, Logo.ico, TrojanWave.png]
    
  |__ Model
    |______ [coco.names, mask_detector.model, Model.png, README.txt, yolov3.cfg ]
      
  |__ Output
    |______ [ Gif_1.mp4, Gif_2.mp4, Loading.mp4]

Overview

  • In the present scenario due to Covid-19, there is no efficient face mask detection applications which are now in high demand for transportation means, densely populated areas, residential districts, large-scale manufacturers and other enterprises to ensure safety. 
  • Amidst the COVID-19 situation, maintaining social distancing and wearing masks is ignored. And, no data is recorded to find out which regions are violating the same. If there is some way to get this data, necessary actions can be taken. Well, rest easy as our solution does this for you!

The proposed system can be used in real-time applications which require face-mask & social distancing detection for safety purposes.

The system can be integrated with embedded systems for application in airports, railway stations, offices, schools, and public places to ensure that public safety guidelines are followed.

Setup

  • Clone the repo and cd into the directory
$ git clone "https://github.com/snjydas/Covid-Guard"
$ cd Covid Guard

Download Model Weights


Please download the yolov3 model weights by from pjredddie.com & save the yolov3.weights inside the ./Model Directory.

Installation

$ pip install tensorflow
$ pip install EasyTkinter
$ pip install opencv-python
$ pip install keras
$ pip install Pillow
$ pip install imutils
$ pip install numpy

Or

$ pip install -r requirements.txt 

Run

$ cd Covid Guard
$ python "Covid Guard.py"

Demo: Running The Application

Output


Output: Single Person



Output: Multiple Persons In Single Frame

Features

  • Live video surveillance to fight against covid-19 spread
  • The project can be integrated with embedded systems for application in airports, railway stations, offices, schools, and public places to ensure that public safety guidelines are followed.
  • Real time face mask detection and for social distancing tracking the crowd movement across the day time.
  • Hot-spot area can be monitored by security forces from central station.
  • If AI based solution used by authority, then there will be less chance to infect security forces.

Reference

License

Licensed under the MIT License

Contributor

Sanjay Das

                                                      ╔═╗╔╦╗╔═╗╦ ╦  ╦ ╦╔═╗╔╦╗╔═╗
                                                      ╚═╗ ║ ╠═╣╚╦╝  ╠═╣║ ║║║║║╣
                                                      ╚═╝ ╩ ╩ ╩ ╩   ╩ ╩╚═╝╩ ╩╚═╝
                                                      ╔═╗╔╦╗╔═╗╦ ╦  ╔═╗╔═╗╔═╗╔═╗
                                                      ╚═╗ ║ ╠═╣╚╦╝  ╚═╗╠═╣╠╣ ║╣
                                                      ╚═╝ ╩ ╩ ╩ ╩   ╚═╝╩ ╩╚  ╚═╝

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published