This is an innovative project that brings the magic of digital art to the physical world. Using computer vision and ML, Air Canvas allows users to create stunning artwork simply by moving their hands in the air.
python3 , numpy , opencv, mediapipe
- Read the frames and convert the captured frames to HSV colour space(easy for colour detection)
- Prepare the canvas frame and put the respective ink buttons on it
- Adjust the values of the mediapipe intilization to detect one hand only(to avoid confusion)
- Detect the landmarks on the hand by passing the RGB frame to the mediapipe hand detector
- Detect the landmarks, find the index finger coordinates and store them in arrays for successive frames
- Finally draw the points stored in array on the frames and canvas
- Clone the Repository
git clone https://github.com/eizadhamdan/Air_Canvas_Project.git
- Navigate to the Project Directory
cd Air_Canvas_Project
- Install Dependencies
- Run the Script:
python air_canvas.py