Demo -

https://www.youtube.com/watch?v=_BaKsFazN3E

Step 1

takeData.py and takeFaceData.py => Use this 2 files to take the the gesture and face data

Step 2

frameImageModelTrain.py and gestureModelTrain.py => after running these 2 files the 2 models will be produced to detect face and gesture

Step 3

testFrameVideo.py => test the face detection model with your webcam video

Step 4

mainFrame.py => this will predict if any gesture is shown on a particular region of a live video frame. If gesture is shown then captures the full image frame and detects the face on the frame

Note:-

Check the file paths before use