O'Reilly logo

OpenNI Cookbook by Soroush Falahati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Opening an already recorded file (ONI file) instead of a device

Prior to the Selecting a specific device for accessing depth stream recipe of this chapter we used ANY_DEVICE as the parameter of the openni::Device::open() method to open the first device and access its sensors. In the Selecting a specific device for accessing depth stream recipe of this chapter we learned that we can select what device to open by sending its hardware Uri to the openni::OpenNI::open() method. And in this recipe, we will learn another use of the openni::OpenNI::open() method.

You will find out how to record data from different sensors of a device to a file in the later sections of the chapter, but now we want to show how to re-open them as an individual device (just ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required