""" The width & height value configured in "opencv_createsamples.exe", need to stay the same when training "opencv_traincascade.exe" """
Here is what the above code is Doing:
1. Create a list of images and a list of corresponding class labels.
2. Initialize the video stream and allow the camera sensor to warmup.
3. Grab the reference to the webcam.
4. Loop over the frames from the video stream.
5. Resize the frame, convert it to grayscale, and blur it.
6. Detect faces in the frame and determine if they are wearing a face mask or not.
7. Display the output frame and wait for a key press.