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 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.
- 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"
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 |
╔═╗╔╦╗╔═╗╦ ╦ ╦ ╦╔═╗╔╦╗╔═╗
╚═╗ ║ ╠═╣╚╦╝ ╠═╣║ ║║║║║╣
╚═╝ ╩ ╩ ╩ ╩ ╩ ╩╚═╝╩ ╩╚═╝
╔═╗╔╦╗╔═╗╦ ╦ ╔═╗╔═╗╔═╗╔═╗
╚═╗ ║ ╠═╣╚╦╝ ╚═╗╠═╣╠╣ ║╣
╚═╝ ╩ ╩ ╩ ╩ ╚═╝╩ ╩╚ ╚═╝