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

Drawing Our First Point Cloud

OK. Now that we’re oriented, it’s time to get back to the Kinect. We’re going to access the Kinect’s data as a set of 3D points so we can draw them in our sketch. The code for doing this will be similar in some ways to the code we’ve written in the past that accessed the Kinect’s pixels, but it will be simpler. In that old code, we asked SimpleOpenNI for the depth values, and it gave them to us as a simple array of integers. We then had to translate from that one-dimensional array of depth values into x- and y- positions on screen.

This time, though, we’re going to ask SimpleOpenNI for something more sophisticated. In addition to the simple array of depth values, SimpleOpenNI can give us the Kinect’s data as a set ...

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