- Clone the repo
> git clone https://github.com/chandrikadeb7/Face-Mask-Detection.git
- Change your directory to the cloned repo and create a Python virtual environment named 'env', type the following commmand in command prompt
> py -m venv env
- Activate the Virtual environment with
> .\env\Scripts\activate
- Now, run the following command in your Command Prompt to install the libraries required
> pip3 install -r requirements.txt
Example
- Open terminal. Go into the cloned project directory and type the following command:
> python3 train_mask_detector.py --dataset dataset
- To detect face masks in an image type the following command:
> python3 detect_mask_image.py --image images/pic1.jpeg
- To detect face masks in real-time video streams type the following command:
> python3 detect_mask_video.py
- To detect face masks in an image on webapp type the following command:
> streamlit run app.py
You can find our Code of Conduct here.
You can find our Readme here.