- OpenCV
- Numpy
- Plain background
- Run skin-color-thresholds.ipynb to find thresholds that work in your environment. This changes depending on lighting and background colour. Aim to have the bottom screen show a whole outline of the hand.
- Copy the thresholds that worked best from step 1 into hand_gesture_recognition.ipynb, replacing y_min, y_max, cr_min, cr_max, cb_min, cb_max.
- Run hand_gesture_recognition.ipynb to start the program
- Note this works best with a 1920x1080 camera
- Open your hand with fingers spread apart to start
- Make finger-gun shape with hand, lower thumb on top of pointer finger to shoot