Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sample Code for Intel® RealSense™ 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.

For mode advanced usages please review the list of Tools we provide.

For a detailed explanations and API documentation see our Documentation section

List of Samples:

C++ Examples

  1. Capture - Show how to syncronize and render multiple streams: left & right imagers, depth and RGB streams.
  2. Save To Disk - Demonstrate how to render and save video streams on headless systems without graphical user interface (GUI).
  3. Multicam - Present multiple cameras depth streams simultaneously, in separate windows.
  4. Pointcloud - Showcase Projection API while generating and rendering 3D pointcloud.
  5. Streams Alignment - Show a simple method for dynamic background removal from video.
  6. Sensor Control -- A tutorial for using the rs2::sensor API
  7. Measure - Lets the user measure the dimentions of 3D objects in a picture.

C Examples

  1. Depth - Demonstrates how to stream depth data and prints a simple text-based representation of the depth image.
  2. Distance - Print the distance from the camera to the object in the center of the image.
  3. Color - Demonstrate how to stream color data and prints some frame information.