I wrote a python script that converted a user's hand gestures to mouse movement, scrolling, and zooming. The project used a color-tagged glove and the laptop's built-in camera. This was a three-week project for a freshman-year introductory programming course.
I used OpenCV in python to detect the colored regions of the gloves in a camera frame. I mapped a polyline onto the hands, and used comvexities to find fingertips.
A user could move the mouse and click, scroll, and zoom, using pre-coded gesture commands.