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.
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.