Skip to content

MihirK1212/face-mask-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face-Mask-Detection

Team Details:

  1. Nilay Ganvit, Roll No.200001053
  2. Ayush Sinha, Roll No.20001012
  3. Mihir Karandikar, Roll No.200001044
  4. Akshat Nahata, Roll No.200004002

Mentor Details:

  1. Rama Edlabadkar
  2. Pranjal Gadge
  3. 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:

  1. Python (recommended version 3.7.6 and above)
  2. 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:

  1. Download 'yolov3_training_last.weights' from this drive link
  2. 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

  1. Run the python script 'Detection_Image.py' and the image will load on your screen
  2. 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

  1. Run the python script 'Detection_Webcam.py' and your webcam will open
  2. Please allow Python to access WebCam if asked so by your anti-virus software

E] For a more interactive experience

  1. Click on 'Face Mask Detection.bat' and wait for Chrome to open
  2. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published