1 | initial version |
I think OpenCV 2.x is compatible only with OpenNI 1.X.
OpenCV 3.X works with OpenNI2.X
That said, I prefer to use directly OpenNI to capture a frame and convert it to OpenCV Mat. As most 3D sensors use other SDKs, it will be easier to adapt your code later.