Sample Code for Intel® RealSense™ Depth cameras
Code Examples to start prototyping quickly: These simple examples demonstrate how to easily use the SDK to include code snippets that access the camera into your applications.
List of Examples:
Name | Language | Description | Experience Level | Technology |
|---|---|---|---|---|
C++ | Demonstrates the basics of connecting to a RealSense device and using depth data | ⭐ | ||
C | Equivalent to
but rewritten for C users | ⭐ | ||
C | Demonstrate how to stream color data and prints some frame information | ⭐ | ||
C++ | Shows how to synchronize and render multiple streams: left, right, depth and RGB streams | ⭐ | ||
C++ | Demonstrate how to render and save video streams on headless systems without graphical user interface (GUI) | ⭐ | ||
C++ | Showcase Projection API while generating and rendering 3D pointcloud | ⭐ | ||
C++ & | Minimal OpenCV application for visualizing depth data | ⭐ | ||
C++ | Present multiple cameras depth streams simultaneously, in separate windows | ⭐ | ||
C | Demonstrates how to stream depth data and prints a simple text-based representation of the depth image | ⭐ ⭐ | ||
C++ | Introduces the concept of spatial stream alignment, using depth-color mapping | ⭐ ⭐ | ||
C++ | Show a simple method for dynamic background removal from video | ⭐ ⭐ | ||
C++ | Lets the user measure the dimensions of 3D objects in a stream | ⭐ ⭐ | ||
C++ | Demonstrating usage of post processing filters for depth images | ⭐ ⭐ | ||
C++ | Demonstrating usage of the recorder and playback devices | ⭐ ⭐ | ||
C++ | Demonstrates how to use data from gyroscope and accelerometer to compute the rotation of the camera | ⭐ ⭐ | ||
C++ & | RealSense camera used for real-time object-detection | ⭐ ⭐ | ||
C++ | Shows how to create a custom
| ⭐ ⭐ ⭐ | ||
C++ | A tutorial for using the
API | ⭐ ⭐ ⭐ | ||
C++ & | Simple background removal using the GrabCut algorithm | ⭐ ⭐ ⭐ | ||
C++ & | Basic latency estimation using computer vision | ⭐ ⭐ ⭐ |
Updated 14 days ago
