An AI model to detect if people are following social distancing & wearing masks for safety.
π 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]
- 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 ο¬nd 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.
- Clone the repo and cd into the directory
$ git clone "https://github.com/snjydas/Covid-Guard"
$ cd Covid Guard
Please download the yolov3 model weights by from pjredddie.com & save the yolov3.weights inside the ./Model Directory.
$ 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
$ cd Covid Guard
$ python "Covid Guard.py"
Demo: Running The Application
Output: Multiple Persons In Single Frame
- 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.
- Pyimagesearch - fine tuning resnet with keras tensorflow and deep-learning
- Tensorflow - Guide
- Keras - Guide
Licensed under the MIT License
Sanjay Das |
Abhishek Pandey |
βββββ¦βββββ¦ β¦ β¦ β¦βββββ¦ββββ
βββ β β ββ£ββ¦β β ββ£β ββββββ£
βββ β© β© β© β© β© β©ββββ© β©βββ
βββββ¦βββββ¦ β¦ ββββββββββββ
βββ β β ββ£ββ¦β ββββ ββ£β β£ ββ£
βββ β© β© β© β© ββββ© β©β βββ