Vision-Based Hand Gesture Keyboard for Game Control Using OpenCV

Authors

  • Pradnya Jadhav Yeshwantrao Chavan College of Engineering, Nagpur (MS), India
  • Poorvi K. Joshi Ramdeobaba University, Nagpur (MS), India.
  • Aarti R. Salunke Ramdeobaba University, Nagpur (MS), India.
  • Rishi Pande Ramdeobaba University, Nagpur (MS), India.
  • Harish Khandelwal MGMU Jawaharlal Nehru Engineering College of, Sambhaji Nagar, India
  • Aditya Arvikar Ramdeobaba University, Nagpur (MS), India.
  • Aayush Pande Ramdeobaba University, Nagpur (MS), India.

DOI:

https://doi.org/10.70917/ijcisim-2026-5467

Keywords:

Recognition of hand gesture, OpenCV, Medi-aPipe, PyAutoGUI, Human Computer Interaction, Game control

Abstract

A vision-based system is designed to enable real-time hand gesture control in gaming, without any need for physical accessories. The system uses a standard webcam to record and track hand gestures that mimic steering-wheel movements. A virtual steering indicator is also displayed on the screen, which rotates based on hand tilt to reflect direction and intensity of steering. These gestures are mapped to keyboard keys such as W (acceleration), A (left), D (right), and in certain configurations, S (reverse). The system is developed entirely in Python, using OpenCV for real-time image processing and MediaPipe for precise 21-point hand landmark detection. By programmatically simulating keyboard events, PyAutoGUI enables interaction with almost any PC game that supports conventional keyboard input. The system is able to recognize gestures with low latency and does not require any external equipment or integration with the game. To establish an initial steering reference, users align their hands in a straight position during a short calibration step, simulating a virtual steering wheel. After calibration, the system calculates tilt angles in real time and converts them into keyboard inputs. This touchless interface provides a new way of interaction, especially for users interested in immersive technologies, and also offers an alternative to traditional controllers. The system was tested on the kart racing game (Smash Karts) and demonstrated smooth performance. It also shows potential as a Human-Computer Interaction (HCI) technique in gaming, with scope for further improvements and application in more complex game environments.

Downloads

Download data is not yet available.

Downloads

Published

2026-09-03

How to Cite

Pradnya Jadhav, Poorvi K. Joshi, Aarti R. Salunke, Rishi Pande, Harish Khandelwal, Aditya Arvikar, & Aayush Pande. (2026). Vision-Based Hand Gesture Keyboard for Game Control Using OpenCV. International Journal of Computer Information Systems and Industrial Management Applications, 18(22s), 644–650. https://doi.org/10.70917/ijcisim-2026-5467

Issue

Section

Original Articles