Skip to content

Latest commit

 

History

History
53 lines (29 loc) · 1.38 KB

README.md

File metadata and controls

53 lines (29 loc) · 1.38 KB

Virtual-Pen

Computer Vision Project : Virtual Pen using OpenCV and Python

Draw on Canvas just by using your Web-Camera and moving a Sketch Pen in the air in front of the camera. It automatically detects the color of the Sketch Pen you are using and starts drawing as you move your hand. Keep the pen's cap on and cap's tip facing straight towards the Camera.

Adjust the Threshold values of the colors for better results as the sketch pen color you are using maybe a little different from the ones I used while making this Project. Only designed for Green, Purple, and Yellow color pens. Make sure that cap of sketch pen is of same color as the ink.

You can see the uploaded tutorial video.

Getting Started

Dependencies

  • Jupyter Notebook required

  • Python Libraries

    • Numpy
    • cv2
    • Matplotlib

Installing

  • Download Jupyter Notebook

  • No further installation

Executing program

  • Define your colors or the color of sketch-pen you are using in the lower and upper HSV threshold values.

  • Contoutrs detection and then Color detection using OpenCV.

  • Stream your Web-Cam and Start virtually drawing

Help

Installing the libraries beforehand will solve most issues

Authors

Contributors names and contact info ex. @priyanshkedia04

Version History

  • 0.1
    • Initial Release

License

GNU General Public License v3.0