Skip to content

sneha1827/Virtual-Hover-Pen

 
 

Repository files navigation

Virtual Hover Pen

A virtual pen using your webcam and the OpenCV Library

First, color masking was used to get the binary mask of the target pen and then contour detection to detect and track the location of the marker.

Features:

  • Works best with green, blue and Red markers.
  • To clear screen, put any marker upto the webcam.
  • Press q to exit the program.
  • Result will differ with the lighting.

Pre requisites:

  • Python 3 installed.
  • OpenCV installed.

Instructions to run:

  • First clone the project
  • Go to the directory where you have cloned it
  • Run the following:
  • python virtualhoverpen.py

Contributors:

About

Virtual Hover Pen with OpenCV library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.5%
  • Jupyter Notebook 43.5%