Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to setup OpenNI 2.0 with OpenCV for a Kinect project?
    text
    copied!<p>I am working on my final year project. I need to work with Kinect to detect hand movements. I have tried a few ways and got some results, however, none was enough to meet the needs of the project. I saw <a href="https://www.youtube.com/watch?v=Fxa43qcm1C4" rel="nofollow">this video</a> long ago, and just got to know that they open sourced it recently. So I gave it a try.</p> <p>My problem now is how to set things up.</p> <p>The above awesome project uses OpenNI with Kinect. I tried to follow <a href="http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windows-installation" rel="nofollow">OpenCV tutorials</a> to build it from source code, to let OpenCV work with OpenNI. </p> <p>Problems: </p> <ol> <li><p>It says "For the OpenNI Framework you need to install both the development build and the PrimeSensor Module." but as I followed the links some of them were dead. Seems like OpenNI 2.0 doesn't use PrimeSensor any longer.</p></li> <li><p>It also says that in Cmake folders, one is <code>OpenCV/Src</code>, the other is <code>/build</code>. But the OpenCV I downloaded doesn't have anything as Src folder.</p></li> <li><p>Still I used the whole folder as Src, and built it to a build folder and checked <code>WITH OPENNI</code>. I used the Include and Lib folder in OpenNI2 I downloaded, but when I built the OpenCV solution (already generated from CMake) all builds failed.</p></li> <li><p>Also, while generating with Cmake, even if my future OpenCV solution had been successfully built (which wasn't the case), Cmake would have kept telling me how PrimeSense was not available, which made me feel so insecure. :(</p></li> <li><p>I am a bit confused about 32- and 64-bit. The above project I want to follow says it works on 64-bit. But I use MS C++ Express, all projects are 32-bit. So which PrimeSense drivers (given in OpenNI2) should I use? </p></li> </ol> <p>Could anyone please tell me how to set all these things (OpenNI2.0, OpenCV 2.4.3, PrimeSense) together so I can work with Kinect?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload