Project Description
Virtual Pen Using OpenCV
Just a fun project I did one weekend to brush up on my OpenCV skills. The demo shows how I select a region of interest then the program uses a KCF tracker and threshold mask to track the pen around the frame. The program uses the tracker when available, but if the tracker loses the pen (i.e. the pen leaves the frame or is occluded) it falls back to using the mask.