rs-distance

Overview

This code example is part of the C simple examples demonstrate how to easily use the SDK to include code snippets that access the camera into your applications using C API.

rs-distance streams depth and prints the distance from the camera to the object in the center of the image

The sample demonstrates how to use C API to stream depth data and print the distance from the camera to the object in the center of the image.

📘

Source Code

Check rs-distance.c for the C code.