Giter Site home page Giter Site logo

mohamedalaouimhamdi / virtual_keyboard Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 10 KB

The Virtual Hand Gesture Keyboard is an innovative and interactive project that offers a new way to type using hand gestures. This project leverages computer vision and machine learning techniques to track the user's hand movements and recognize specific gestures, which are then translated into virtual keypresses on the user's computer.

License: MIT License

Python 100.00%
computer-vision hand handgesture-recognition handtracking keyboard machine-learning python

virtual_keyboard's Introduction

Virtual Hand Gesture Keyboard

Table of Contents

Introduction

The Virtual Hand Gesture Keyboard is an interactive virtual keyboard that allows users to type using hand gestures in front of their webcam. It uses the OpenCV library for hand tracking and recognizes hand gestures to simulate keypresses on the user's computer.

Installation

  1. Clone the repository:

    git clone https://github.com/MohamedAlaouiMhamdi/virtual_keyboard.git

  2. Install the required libraries:

    pip install opencv-python mediapipe numpy pynput

  3. Run the application:

    python virtual_keyboard.py

Usage

  1. Place your hand in front of the webcam to enable hand tracking.
  2. Use gestures to select keys from the virtual keyboard displayed on the screen.
  3. The selected keys will be typed into any active text input on your computer.

How It Works

The Virtual Hand Gesture Keyboard uses the Mediapipe library for hand tracking. It tracks the user's hand landmarks and calculates the distance between specific landmarks to recognize gestures.

The virtual keyboard consists of buttons, and each button is associated with a specific key. When a user's hand is detected, the program identifies the hand gestures and simulates keypresses based on the gestures.

Demo Video

Design.sans.titre.1.mp4

Contributing

Contributions to this project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

virtual_keyboard's People

Contributors

mohamedalaouimhamdi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

gerty168

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.