Deteksi Masker

🚀  Installation

  1. Clone the repo
$ https://github.com/shimozuki/deteksi-masker.git
  1. Change your directory to the cloned repo and create a Python virtual environment named 'test'
$ mkvirtualenv test
  1. Now, run the following command in your Terminal/Command Prompt to install the libraries required
$ pip3 install -r requirements.txt

💡 Working

  1. Open terminal. Go into the cloned project directory folder and type the following command:
$ python3 train_mask_detector.py --dataset dataset
  1. Now detect the face masks in images
$ python3 detect_mask_image.py --image images/pic1.jpeg
  1. Detection in real-time video streams
$ python3 detect_mask_video.py 

🔑 Results

Our model gave 93% accuracy for Face Mask Detection after training via tensorflow-gpu==2.0.0

We got the following accuracy/loss training curve plot

👏 And it's done!

Feel free to mail me for any doubts/query :email: robbishimozuki@gmail.com

❤️ Owner

Made with ❤️  by Robi

👍 Credits

👀 License

MIT © Robi