GESTURE CONTROLLED GAMING

GESTURE CONTROLLED GAMING

In order to use this code you just have to run the hand_track.py file, after that keep your hand in position in front of camera it will capture the frame after that highlight your left hand fist by using cursor and press enter after highlighting the part same for the right hand
now simply place your hand in front of camera now remember your left hand if forward and backward or you can say its for accelerate and brake and right hand is for steering (left and right) .

Credit:-  Yash Kumar

IMPORTED LIBRARIES

  • import numpy as np
    import cv2
    import time
    import math
    import imutils
    from imutils.video import FileVideoStream, VideoStream
    import keyboard
    from pynput.keyboard import Key, Controller
    import numpy as np

About Diwas

🚀 I'm Diwas Pandey, a Computer Engineer with an unyielding passion for Artificial Intelligence, currently pursuing a Master's in Computer Science at Washington State University, USA. As a dedicated blogger at AIHUBPROJECTS.COM, I share insights into the cutting-edge developments in AI, and as a Freelancer, I leverage my technical expertise to craft innovative solutions. Join me in bridging the gap between technology and healthcare as we shape a brighter future together! 🌍🤖🔬

View all posts by Diwas →

One Comment on “GESTURE CONTROLLED GAMING”

Leave a Reply

Your email address will not be published. Required fields are marked *