cnkinect论坛里的一个高手说openni不好搞定。自己索性试了试,还是比较幸运的,成功了。
主要大部分原因都是驱动不正确导致。
参考codeproject文章。
http://www.codeproject.com/Articles/148251/How-to-Successfully-Install-Kinect-on-Windows-Open.aspx
有点儿指导意义,不过意义不大。
Step 0
Uninstall any previews drivers, such as CLNUI. Look at the end of this post if you want to see how you can have multiple drivers installed.
Step 1
Download and install the latest stable or unstable OpenNI Binaries from OpenNI website.
Step 2
Download and install the latest stable or unstable OpenNI Compliant Hardware Binaries from OpenNI website.
Step 3
Download Kinect Drivers and unzip.
https://github.com/avin2/SensorKinect
主页中,要选择一个分支,否则看不到这句话。两个分支文件大小好像一样。针对稳定和不稳定版本,大家尽量和自己使用的应用版本对应就可以了。安装这类文件SensorKinect-Win-OpenSource32-5.0.1.msi。不要运行dpinst-x86.exe之类的。我使用不能用。如果x64可能得尝试使用这个方法。
Updated codebase to the latest OpenNI / Sensor version (1.1.0.39 / 5.0.1.32)