Hi,
I want to use an Xbox Kinect with a Windows 7 64bit OS. ofxKinect works fine, but I need features such skeleton tracking, so I’m trying ofxOpenNI.
It isn’t possible to follow the addon installation procedure because the openNI website no longer exists (since Apple bought PrimeSense I guess).
I made some researches and tries, but nothing works. Can anyone help or point me to the right direction ?
Here’s my last try:
Installation:
According to this page I have downloaded https://code.google.com/p/simple-openni/downloads/detail?name=OpenNI_NITE_Installer-win64-0.27.zip.
I have installed OpenNI: openni-win64-1.5.4.0-dev.msi
Then the Kinect driver: SensorKinect093-Bin-Win64-v5.1.2.1.msi from https://github.com/avin2/SensorKinect (recommended driver in the addon installation procedure)
Then NITE: nite-win64-1.5.2.21-dev.msi
When I plug the Kinect I see it in the Windows devices manager (PrimeSense Kinect audio, Kinect Camera and Kinect Motor) and the Kinect green led is blinking.
Running the app:
Then I build the src-ImageAndDepth-Simple example.
I put the lib folder (from the copy_to_data_openni_path addon folder) in the bin/data/openni folder
As the app complain about the missing OpenNI.dll, I also copy it from the copy_to_data_openni_path/lib folder to the bin folder.
Then the app is running, but I see nothing on the display (except the fps), and I’ve got the following message in the console:
.
[notice ] ofxOpenNIDevice[0]: Init context…
[verbose] ofxOpenNIDevice[0]: Context initilizedstatus:The environment variable could not be found!
[ error ] ofxOpenNIDevice[0]: Context could not be initialized
[notice ] ofxOpenNIDevice[0]: Adding generator typeXN_NODE_TYPE_DEPTH
[ error ] ofxOpenNIDevice[0]: Context is not setup - please call ofxOpenNI::setup() first
[notice ] ofxOpenNIDevice[0]: Adding generator typeXN_NODE_TYPE_IMAGE
[ error ] ofxOpenNIDevice[0]: Context is not setup - please call ofxOpenNI::setup() first
[notice ] ofxOpenNIDevice[0]: Starting ofxOpenNI with threading
[verbose] ofEvents: OF app is being terminated!
Thank you for any tip !
P.S: Windows 7 64bit / OF 8.0 / Code::Blocks