Play Chrome T-Rex game using Opencv. Adjust the parameters according to your uses.
It is using OpenCV thresholding and countour detection to detect the jump gesture.
Clutch your hand to make a jump.
You need xdotool
to emulate key press.
On Ubuntu install it using
sudo apt install xdotool