/draw_in_air

Primary LanguagePythonMIT LicenseMIT

Draw in Air

This project enables you to draw in air and use your screen as a canvas using your webcam.

Dependencies:

  • OpenCV
  • Numpy
  • MediaPipe

Usage

  • One hand to draw (in black).
  • Another hand to select the color.
  • Gestures:
    • Make a fist to clear the canvas.
    • Single finger to draw.
    • Two fingers to stop drawing.
    • Two peace symbols with both hands to save the image.
    • Drag second hand or hold objects to choose colors from the environment.

Run

git clone ~/https://github.com/wwsmiff/draw_in_air.git
cd ~/draw_in_air
pip install -r requirements.txt
python3 main.py