Code Monkey home page Code Monkey logo

covid-guard's Introduction

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

Abhishek Pandey

                                                      ╔═╗╔╦╗╔═╗╦ ╦  ╦ ╦╔═╗╔╦╗╔═╗
                                                      β•šβ•β•— β•‘ β• β•β•£β•šβ•¦β•  ╠═╣║ β•‘β•‘β•‘β•‘β•‘β•£
                                                      β•šβ•β• β•© β•© β•© β•©   β•© β•©β•šβ•β•β•© β•©β•šβ•β•
                                                      ╔═╗╔╦╗╔═╗╦ ╦  ╔═╗╔═╗╔═╗╔═╗
                                                      β•šβ•β•— β•‘ β• β•β•£β•šβ•¦β•  β•šβ•β•—β• β•β•£β• β•£ β•‘β•£
                                                      β•šβ•β• β•© β•© β•© β•©   β•šβ•β•β•© β•©β•š  β•šβ•β•

covid-guard's People

Contributors

abhi526691 avatar snjydas avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

abhi526691

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.