Skip to Main Content
Making Things See
book

Making Things See

by Greg Borenstein
January 2012
Beginner to intermediate content levelBeginner to intermediate
440 pages
17h 11m
English
Make: Community
Content preview from Making Things See

Accessing Joint Positions

When we last left draw, we’d successfully accessed our tracked user from the list of users provided by OpenNI, but skeleton data was not yet available, so we were not able to proceed. Now that we’ve finished calibrating our user, the tables have turned—kinect.isTrackingSkeleton(userId) will return true and we’ll be able to enter the inner if statement. From here on out, our job is to actually use the skeleton data provided by OpenNI to build an interface.

In this sketch, we’re going to create the simplest interface possible: a red dot that follows your right hand. Creating this interface will take three steps. First we have to get the position of the right hand from OpenNI. OpenNI will give us this position in “real-world” ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick
Make: Volume 79

Make: Volume 79

Mike Senese
Making Things Smart

Making Things Smart

Gordon F. Williams

Publisher Resources

ISBN: 9781449321918Errata