In order to use this code you just have to run the 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


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

About Diwas Pandey

Highly motivated, strong drive with excellent interpersonal, communication, and team-building skills. Motivated to learn, grow and excel in Data Science, Artificial Intelligence, SEO & Digital Marketing

View all posts by Diwas Pandey →

Leave a Reply

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