Skip to content

Muneeb-Shafi/Windows-Gesture-Control-Python-Mediapie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows-Gesture-Control-Python-Mediapie

Gesture Control Python App

This Python application uses the Mediapipe library to detect various hand gestures and perform corresponding window actions. It provides a hands-free way of controlling your computer by mapping hand gestures to specific window operations.

Features

  • Detects the following hand gestures:

    • Thumbs up: Volume up
    • Thumbs down: Volume down
    • Pointing up: Switch windows
    • Closed fist: Minimize all windows
    • Open palm: Restore all windows
    • Victory sign: Close window
    • ILY (I Love You): Take a screenshot
    • Take a new screenshot
  • Easy-to-use GUI interface to toggle the gesture recognition service

Requirements

  • Python 3.x
  • Mediapipe library
  • OpenCV library
  • Tkinter library
  • pyautogui library

Installation

  1. Clone the repository:

    git clone https://github.com/Muneeb-Shafi/Windows-Gesture-Control-Python-Mediapie
  2. Install the required dependencies:

    pip install mediapipe opencv-python tkinter pyautogui

3.Usage Open a terminal or command prompt and navigate to the project directory.

4.Run the Python script:

pip install mediapipe opencv-python tkinter pyautogui 

Toggle the gesture recognition service on/off by clicking the "Start the Camera Service" toggle button.

Perform the supported hand gestures in front of your camera, and the associated window actions will be executed accordingly.

Contributing

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages