Items with no label
3335 Discussions

Calculating Distance

JHill
Beginner
1,107 Views

To calculate distance, is there an out-of-the box solution to measure basic distance measurements? It seems that most people are using opencv for this but I can't find a simple way to calculate the distance from the realsense camera to an object. This may be a really dumb question but couldn't find the solution in other areas.

0 Kudos
1 Solution
MartyG
Honored Contributor III
160 Views

There is a script at the bottom of the SDK documentation's front page, in a section titled "Ready to hack". It displays the distance from the camera to an object in the center of the image.

https://github.com/IntelRealSense/librealsense GitHub - IntelRealSense/librealsense: Intel® RealSense™ SDK

View solution in original post

0 Kudos
1 Reply
MartyG
Honored Contributor III
161 Views

There is a script at the bottom of the SDK documentation's front page, in a section titled "Ready to hack". It displays the distance from the camera to an object in the center of the image.

https://github.com/IntelRealSense/librealsense GitHub - IntelRealSense/librealsense: Intel® RealSense™ SDK

0 Kudos
Reply