Ask Your Question

Revision history [back]

How to get Kinect Depth Image with OpenCV?

Hello, OpenCV community! I need your help!!

I'm trying to get the kinect depth image using Visual Studio 2017 (C++) and OpenCV 3.2.0, though it should be something simple, I have tried a lot of things and codes but nothing works!! I've tried Kinect Developer Toolkit code in C++ to get kinect depth image and it doesn't work as well (if necessary, I'll print the error message)...

I have already tested my Kinect (it works) and imported the necessary libraries.

I did plenty of research on the internet and found nothing... If someone could upload a simple code that gets Kinect depth frames I would be very grateful.

PS: I'm using Kinect V1.0 (Xbox 360)