This repo only provides inferencing of face mask detection for use in applications and serving. Original author for the code found in this repo is Chandrika Deb.
- Clone the repo
> git clone https://github.com/Nannigalaxy/Real-time-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
> cd Real-time-face-mask-detection
> virtualenv env -p python3
- Activate the Virtual environment with
> source ./env/bin/activate
- Now, run the following command in your Command Prompt to install the libraries required
> pip3 install -r requirements.txt
- Clone the repo
> git clone https://github.com/Nannigalaxy/Real-time-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
> cd Real-time-face-mask-detection
> python3 -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
- To detect face masks in real-time video streams type the following command:
> python detect_mask_camera.py