Skip to the content.
    
    
      Face-Mask-detector
Find details from my video: (https://youtu.be/-x5jZwjrdGM)
File Details
  - Model_training.py: Use this python file to train your model
- Image_final_try: With this file ,you can classify a image whether there is any mask in it or not
- Webcam_try.py: This particular oython file will help you to detect mask/no mask from webcam or any video.
- Haarcascade_frontalface_alt.xml: With the help of it you can detect face features.
- Github Pages of this repo : (https://abd-shoumik.github.io/Face-Mask-detector/.)
To run this code in your terminal:
  - *Open your terminal
- Change directory to where you have downloaded this code
- Install python3 if you have not, if installed already then it’s ok!
- Run  `  python3 -m venv venv  ` to create a virtual environment named venv.
- Run   `  source venv/bin/activate  ` 
to activate your environment!
- Write   `  pip install -r requirements.txt  ` 
to install the python dependencies related to this project like opencv,numpy,tensorflow,keras etc.
- Run the command python3 Model_training.pyto train your model
- **Next, write python3 webcam_try.pyto openup your webcam and detect whether there is a mask or not!