Skip to content

Aditya-Tripuraneni/HandPainter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

HandPainter

Virtual_Hand_Painter

Installation

There are a few things to install when using this program!

pip install opencv-python
pip install pygame
pip install pyautogui
pip install mediapipe

Imports

import cv2 as cv
import mediapipe as mp
import pygame
import math
import pyautogui
import os

What is this?

Use your thumb and index finger to draw onto your computer screen. By bringing your index and thumb finger together, it will allow you to draw onto a whiteboard, displayed on screen. Users can take screen shots of their work by moving their index finger together beside their middle finger tip. Within a certain distance screen shots will be taken aswell as drawing.

visual

Inspiration

This project was inspired by the need for more accessible digital tools for individuals with motor impairments, such as those affected by Parkinson’s disease. Many assistive devices can be expensive or inaccessible, so the goal was to create a low-cost, gesture-based alternative using only a webcam to make creative interaction more inclusive.

What I learned

Through this project I learned more details about Pygame, and open CV. Aswell as enhancing my experience with Python, I was able to learn how to use generators effectively. This project taught me many applications of mathematical equations learned in school, such as the distance formula. Lastly, I was able to learn how to create screen shots through Python, through the windows machine. This project allowed me to become more comfortable using the "OS" module in Python, as I was able to experiment through grabbing the users directory, and allowing images to be saved on that pathway, if they want to take a screen shot.

About

Use your index finger to draw on a blackboard. Integrating computer vision and Pygame

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages