Skip to content

gilangrizkyr/computer-vision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

COMPUTER VISION

Touchless Control with Hand Tracking β€” Turn Your Camera into a Virtual Mouse & Keyboard

Last Commit Top Language Language Count Built with Python


🧭 Overview

computer-vision is a pure Python project that transforms your webcam into a touchless input controller.
Using real-time hand tracking and gesture recognition, this system allows you to move the mouse cursor and simulate keyboard input using only your hands in front of a camera β€” no physical mouse or keyboard needed.

Powered by:

  • πŸŽ₯ OpenCV – for real-time video capture and frame processing
  • 🧠 MediaPipe – for accurate hand landmark detection
  • πŸ–±οΈ PyAutoGUI – to simulate mouse and keyboard input
  • ⏱️ time – for timing and gesture control

✨ Features

  • πŸ‘‹ Hand Tracking β€” Detects hand landmarks in real-time using MediaPipe.
  • πŸ–±οΈ Virtual Mouse β€” Move your hand to control the system cursor.
  • ⌨️ Keyboard Simulation β€” Use gestures to trigger keyboard events.
  • 🧠 Gesture Mapping β€” Customize actions based on hand gestures.
  • 🐍 100% Python β€” No external binaries or native code.

πŸ›  Built With


πŸš€ Getting Started

βœ… Prerequisites

Make sure you have:

  • Python 3.7 or higher installed
  • A webcam connected and working

πŸ“¦ Installation

  1. Clone the repository:

    git clone https://github.com/gilangrizkyr/computer-vision.git
  2. Navigate into the project folder:

    cd computer-vision
  3. Install required Python packages:

    pip install -r requirements.txt

If requirements.txt doesn't exist yet, create one with the following content:

opencv-python
mediapipe
pyautogui

Or install manually:

pip install opencv-python mediapipe pyautogui

▢️ Usage

Run the program with:

python main.py

Once launched, your webcam will activate. Place your hand in front of the camera and use gestures to control your mouse or keyboard.


πŸ§ͺ Testing

This project does not include automated tests yet.
Testing is done manually by running the application and performing gestures in front of the webcam.


πŸ‘€ Author

Gilang Rizky R
πŸ”— GitHub Profile


β€œNo keyboard. No mouse. Just hand gestures.” πŸ‘‹πŸ’»

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages