Team Details:
- Nilay Ganvit, Roll No.200001053
- Ayush Sinha, Roll No.20001012
- Mihir Karandikar, Roll No.200001044
- Akshat Nahata, Roll No.200004002
Mentor Details:
- Rama Edlabadkar
- Pranjal Gadge
- Siddhesh Shelke
This is a trained Machine Learning Model that can detect whether a person or multiple people is/are wearing or not not wearing a mask.
A] Requirements:
- Python (recommended version 3.7.6 and above)
- pip install -r requirements.txt (Please run your command prompt/terminal as administrator)
B] After downloading the project, the first thing you will need to do is to download the .weights file:
- Download 'yolov3_training_last.weights' from this drive link
- Ensure that a file named 'yolov3_training_last.weights' is now present in your project directory and it has a size of above 200mb
C] For Detection of a Single Image
- Run the python script 'Detection_Image.py' and the image will load on your screen
- To try a different image, change the image file name in the python script (Defualt image name is 'Test_Image (1).jpg' which is present in the repo)
D] For Detection using a Web Cam
- Run the python script 'Detection_Webcam.py' and your webcam will open
- Please allow Python to access WebCam if asked so by your anti-virus software
E] For a more interactive experience
- Click on 'Face Mask Detection.bat' and wait for Chrome to open
- The website will now load...In case the website fails to load, wait for a few seconds and hit the refresh button
#In case of any errors in point E, run the app.py file from a terminal and then proceed to open the link that appears in the terminal #Mac Users may experience some errors with regards to the WebCam
For both points D and E, press the 'Escape' button to close the WebCam