Instructions:
1)Use python 3.7-3.9, install latest version of pip.
2)Install tensor flow 2.7-2.9
https://www.tensorflow.org/install/pip
3)other required libraries
tensorflow,matplot,numpy,sklearn,opencv,imutils
4)Install jupyter classic notebook
Training the model
1)Load the data set to the program 'train_model.ipynb' file.
2)Run
Live Mask Detection
- load the 'res10_300x300_ssd_iter_140000.caffemodel' and 'deploy.prototxt' to the program 'LiveVideoDetection.ipynb.'
- Load the trained model 'mask_detector.model'
- After that, execute the program