examples/readme.md
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.
For mode advanced usages please review the list of Tools we provide.
For a detailed explanations and API documentation see our Documentation section
| Name | Language | Description | Experience Level | Technology |
|---|---|---|---|---|
| Hello-RealSense | C++ | Demonstrates the basics of connecting to a RealSense device and using depth data | :star: | |
| Distance | C | Equivalent to hello-realsense but rewritten for C users | :star: | |
| Color | C | Demonstrate how to stream color data and prints some frame information | :star: | |
| Capture | C++ | Shows how to synchronize and render multiple streams: left, right, depth and RGB streams | :star: | |
| Save To Disk | C++ | Demonstrate how to render and save video streams on headless systems without graphical user interface (GUI) | :star: | |
| Pointcloud | C++ | Showcase Projection API while generating and rendering 3D pointcloud | :star: | |
| ImShow | C++ & OpenCV | Minimal OpenCV application for visualizing depth data | :star: | |
| Multicam | C++ | Present multiple cameras depth streams simultaneously, in separate windows | :star: | |
| Face | C++ & Dlib | Facial recognition with simple anti-spoofing | :star: | |
| Face | C++ & OpenVINO | Facial recognition with OpenVINO™ | :star: | |
| On Chip Calibration | C++ | Demonstrates the basic flow of activating a RealSense device internal calibration | :star: | |
| Depth | C | Demonstrates how to stream depth data and prints a simple text-based representation of the depth image | :star::star: | |
| Spatial Alignment | C++ | Introduces the concept of spatial stream alignment, using depth-color mapping | :star::star: | |
| Advanced Alignment | C++ | Show a simple method for dynamic background removal from video | :star::star: | |
| Measure | C++ | Lets the user measure the dimensions of 3D objects in a stream | :star::star: | |
| Post Processing | C++ | Demonstrating usage of post processing filters for depth images | :star::star: | |
| Record & Playback | C++ | Demonstrating usage of the recorder and playback devices | :star::star: | |
| Motion | C++ | Demonstrates how to use data from gyroscope and accelerometer to compute the rotation of the camera | :star::star: | |
| DNN | C++ & OpenCV | RealSense camera used for real-time object-detection | :star::star: | |
| DNN | C++ & OpenVINO | RealSense camera used for real-time object-detection | :star::star: | |
| Software Device | C++ | Shows how to create a custom rs2::device | :star::star::star: | |
| GL | C++ | Shows how to perform parts of frame processing using the GPU | :star::star::star: | |
| GL Spatial Alignment | C++ | Shows how to perform frame alignment (depth_to_color & color_to_depth) using the GPU | :star::star::star: | |
| Sensor Control | C++ | A tutorial for using the rs2::sensor API | :star::star::star: | |
| GrabCuts | C++ & OpenCV | Simple background removal using the GrabCut algorithm | :star::star::star: | |
| Latency | C++ & OpenCV | Basic latency estimation using computer vision | :star::star::star: |