Skip to content

This repo contains minor project code and details on the topic Computer vision for gesture based game control

Notifications You must be signed in to change notification settings

RayanAhmed2000/Computer-Vision-Projects

Repository files navigation

Pre requisites

Libraries to install

  • mediapipe
pip install mediapipe
  • opencv
pip install opencv-contrib-python
  • pyautogui
pip install pyautogui
  • time
pip install time



Gesture Based Video Playback Control

Controls

  • 1 : RIGHT
  • 2 : LEFT
  • 3 : UP
  • 4 : DOWN
  • 5 : PLAY/PAUSE

Functions

imshow()

Used to display an image in a window

cv2.imshow(window_name, image)

Parameters:

  • window_name: A string representing the name of the window in which image to be displayed.
  • image: It is the image that is to be displayed.
  • Return Value: It doesn’t returns anything.


cv2.flip()

used to flip a 2D array

cv2.cv.flip(src, flipCode 0/1/-1)

Parameters:

  • src = input array

About

This repo contains minor project code and details on the topic Computer vision for gesture based game control

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages