Does Openni 2.2 support Kinect v2?

╄→гoц情女王★ 提交于 2019-12-04 14:35:46

问题


I'm using the new kinect on win8.1 and installed the Openni2 and NITE2, but they can't find my kinect.

So what should I do to make it run?


回答1:


OpenNI doesn't support Kinect (v1 or v2) directly. But you may install a driver for that. I have used successfully the Kinect v1 with OpenNI in windows and Linux... In windows it is easier, you only need to install the Kinect SDK 1.8 for v1... I haven't test it for v2 though, but I am almost sure it doesn't work... most probably you will need to wait for an open driver...

In summary:

Does Openni 2.2 support Kinect v2?

No

So what should I do to make it run?

Wait for an open driver of kinect that works with openni




回答2:


In the kinect2 branch in the occipital OpenNI2 repository they seem to be working on a Kinect v2 driver for OpenNI2 based on the official Microsoft SDK. I haven't tested it myself though.




回答3:


I was also trying to do this for my project and I found that Occipitals' github OpenNI2 source has a functional kinect2 driver in their "Kinect 2" branch. I could build this source and run the NiViewer,exe with Kinect 2.

It's simple:

1.Fork this:OpenNI2 Kinect2 source and clone a copy on to your computer at desired location, ensure Kinect 2.0 SDK is installed.

2.Build the solution: OpenNI.sln (unload the "Kinect" project if you have no Kinect 1.x SDK installed).

3.After building the OpenNI.sln, you will find Kinect2.dll and Kinect2.lib under directory you forked to>Bin>X64(/32)Debug>OpenNI2>Drivers

  1. Copy these to the default directory of the installed OpenNI2 on your system C:\Program Files\OpenNI2\Tools\OpenNI2\Drivers (or the corresponding location in the build is Bin\x64 debug\NiViewer.exe)

  2. Run the NiViewer.exe



来源:https://stackoverflow.com/questions/27465516/does-openni-2-2-support-kinect-v2

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!