Tuesday, February 28, 2012

Paint

The Sample-NiUserTracker was extended in order to draw rectangles and circles on the screen. The right hand position was traced and the last 200 points are stored and redrawn every frame. When the 200 points limit is reached, half of them are cleared and the next 100 are drawn continuously. The number of points can be seen clearly in figure [Paint] (a).

To control the behavior of the program, the following shortcuts are used:

a switches between rectangles and circles

q/w increases/decreases the rectangles or circles size

s draws/clears skeleton

b draws background

p pauses

esc exits program
Painting with Kinect






Download Paint
  • binary file is included - runs on Ubuntu, needs OpenNI libraries
  • source is included

1 comment: