librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Intel RealSense R200: how to get depth data

Open MathiasDePaepe opened this issue 8 years ago • 4 comments

Hello,

I'm new in Intel RealSense and I'm using the R200. Does anyone knows how to get depth data from the frames. I would use these data to determine the distance to an object?

Thanks!

MathiasDePaepe avatar Mar 20 '18 12:03 MathiasDePaepe

Hi @MathiasDePaepe Please take a look at c-tutorial-1-depth.c on the legacy branch.

dorodnic avatar Mar 20 '18 12:03 dorodnic

Thanks for the fast response, I want to use the following example but the code is not mentioned. https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv/dnn

MathiasDePaepe avatar Mar 20 '18 12:03 MathiasDePaepe

This example was never provided for the R200, but it should be relatively easy to adjust example code to work with librealsense1.

dorodnic avatar Mar 21 '18 09:03 dorodnic

Closing this issue, feel free to open a new one if you have follow-up questions

dorodnic avatar Mar 25 '18 11:03 dorodnic