- Get link
- X
- Other Apps
Here's how to use your Kinect as a chintzy laser scanner and capture a point cloud of your own self or your own stuff!
There were a few things on the internet about getting colorless point clouds, and then a preview of a book on Google books that had an image of some code... so retyped that code and hacked some things together to get a pretty simple point cloud capturing program.
What you'll need:
I feel the slightest bit bad for copying code from a preview of a book that is actually for sale and stuff (this one here: http://books.google.com/books?id=xJOxrWzJ5iUC) but the SimpleOpenNI examples were completely missing and all it really says is "omg you can use this function called alternativeViewPointDepthToImage() to get the depth image and the colored image from the kinect to line up!"
There were a few things on the internet about getting colorless point clouds, and then a preview of a book on Google books that had an image of some code... so retyped that code and hacked some things together to get a pretty simple point cloud capturing program.
Live Processing application with code and kinect display |
What you'll need:
- Processing (http://processing.org/)
- OpenNI and the Processing wrapper for OpenNI called SimpleOpenNI (http://code.google.com/p/simple-openni/ and installation instructions: http://code.google.com/p/simple-openni/wiki/Installation)
- This Processing code: http://www.cs.washington.edu/homes/ktuite/colored_point_cloud.pde
Point cloud from Kinect loaded into PointCraft! |
I feel the slightest bit bad for copying code from a preview of a book that is actually for sale and stuff (this one here: http://books.google.com/books?id=xJOxrWzJ5iUC) but the SimpleOpenNI examples were completely missing and all it really says is "omg you can use this function called alternativeViewPointDepthToImage() to get the depth image and the colored image from the kinect to line up!"
Comments
This comment has been removed by a blog administrator.
ReplyDelete