Difference between revisions of "OpenNI2"
(Created page with " Installation Download and install OpenNI2. The best option is from github: git clone ..... On Debian testing (jessie), you have to make small changes: 1) pthread 2) commen...")
Revision as of 19:47, 11 November 2013
Download and install OpenNI2. The best option is from github: git clone .....
On Debian testing (jessie), you have to make small changes: 1) pthread 2) comment supress errors
cd in the directory
./Release x64 or x86
Download, extract, run instal.sh
add source ..../OpenNidev ad source ..../NiTEDev
log in/log out or source ~bashrc
Enable devices SET OpenNI2DeviceServer to ON set OpenNI2DeviceClient to ON
set INSTALL WITH RPATH to ON
Playbacks the specified oni file.
Forces the playback to loop. If not used, the playback will stop after one run.
records to the specified oni file
chenge default port prefix (default=/OpenNI2)
use only user tracker
--minConfidence x (double)
set minimum confidence required. Default is 0.6
Doesn't start the user tracker.
The driver opens three ports: imageFrame:o depthFrame:o userTracker:o
imageFrame and depthFrame stream YARP images, and if connectd to a yarpview, the video is available. UserTracker outputs bottles in the format:
To use the driver in an application: Tested in Debian Jessie (testing), Ubuntu 12.04+ and Mac OS X 10.8.4+ The OpenNI2 and NiTE software does not work with Debian Wheezy (stable) due to glibc < 2.14 Many thanks to Giovanni Saponaro for his help and suggestions during development and testing of the driver.