Wireless Data Gloves PDF Print E-mail
Projects
Wednesday, 29 July 2009 11:19

Wireless Data GlovesThis is my final project of a "Computer graphics" class by professor Christoph Bregler at New York University. The inspiration was a movie "Minority report". In that movie Tom Cruise draws information from a glove-controlled interactive wall.

So that we've created a software that can recognize hand movement and control objects on the screen. And also we've implemented a picture viewer.


In our case user stands in front of the laptop with built in camera and controls pictures using his hands.

Project crew: Ethan Kao, Ashish Dahiya, Kirill Smolskiy

Project timeline: 4 weeks (including design of the idea)

The software can be installed on every operating system. The only thing you need is a web camera and three colour markers. In our case we use gloves with colored fingers.
Tracking systems works using OpenCV libraries and CamShift.

 

Input device: Wireless data gloves

A pair of gloves with color markers.

Technical details

1. Tracking Color Marker

1. Substract every frame to the first frame to comput background mask.

2. Calculate the backproject in every frame.

3. Compare every pixel in the frame to certain HSV color to create color mask.

4. Do and operation to these three masks to rund camshift

2. Hand Gestures Recognition

Track color markers moving vector to determine what kind of shape the user draw.

Also compute the mean distance from center point to tracking points. Subtract the mean distance with every tracking points to compute a error value to have more accurate result. (Ex: mean distance is radius for circle, so the error value should be small.)

How it works

1. Initializing the software and activare markers

Place color markers on the gloves to the position of markers on the screen

2. Moving pictures

Move right: Wave your right index finger from left to right
Move left: Wave your right index finger from right to left

3. Scaling

Show blue, green and pink marker to the camera.
To scale image change the distance between pink and green marker

4. Rotating

Show blue, green and pink marker to the camera.
To rotate image rotate your right hand.

5. Mouse click

Show green and pink marker to the camera.
Hide green marker.

6. Visual effects

Draw a circle
Draw a triangle
Draw a square

Graphical User Interface

We developed a picture viwer using QT toolkit (search Wikipedia).

GUI functions

Animated picture change
Fade in/ Fade out effect
Rotation of main picture
Scaling of main picture
Reflection of shelf pictures
Visual effects
Last Updated on Saturday, 17 October 2009 22:47