Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Hand Gesture Controlled Paint Application 🎨

Python OpenCV Mediapipe

A hand gesture controlled paint application using Python, OpenCV, and Mediapipe. This project allows users to draw on a virtual canvas using hand gestures, making use of hand landmarks for color selection and drawing.

Features ✨

  • Draw with different colors using hand gestures.
  • Clear the canvas with a hand gesture.
  • Switch colors by moving the thumb close to the index finger.

Demo πŸ–ΌοΈ

Demo Image

Installation πŸ› οΈ

  1. Clone the repository:

    git clone https://github.com/harshaparida/Hand_cv_sketch.git
    cd Hand_cv_sketch
  2. Create and activate a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the required dependencies:

    pip install -r requirements.txt

Usage πŸš€

  1. Run the application:

    python main.py
  2. Use your index finger to draw on the screen.

  3. Use the buttons on the top of the canvas to change colors or clear the screen.

Libraries Used πŸ“š

  • OpenCV - Open Source Computer Vision Library
  • Mediapipe - Cross-platform ML solutions for live and streaming media
  • NumPy - The fundamental package for scientific computing with Python

Acknowledgments πŸ™

  • Thanks to the developers of OpenCV and Mediapipe for providing the tools necessary to build this project.

Made with ❀️ by Harsha

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages