All the dependencies and required libraries are included in the file requirements.txt
Use the following command to install all the dependencies
$ pip3 install -r requirements.txt
Clone the repo:
$ git clone https://github.com/ABraik-bit/mask-detector-LCIZ
Use the following command to install all the dependencies:
$ pip3 install -r requirements.txt
To re-train the ML module
$ 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 use the following command:
$ python3 detect_mask_video.py