Skip to content
Intel® RealSense™ SDK
C++ C JavaScript C# Java Python Other
Branch: master
Clone or download
ev-mp Merge branch 'dev'
Change-Id: Idc275350cb99478a46da35f967dd5e1b0124bb15
Latest commit b54f47b Sep 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github add segment of issues for mapping to Zendesk May 31, 2018
CMake Merge pull request #4733 from dorodnic/depth-filter-opencv Aug 27, 2019
common Disable recommended version for the SR300 family Sep 16, 2019
config Retrofit missing SKU product ids into the udev rules file Jun 25, 2019
doc Fix links to Python T265 examples Aug 14, 2019
examples Merge branch 'master' into dev Aug 21, 2019
include Merge pull request #4867 from dorodnic/autocalib_adjustments Sep 16, 2019
scripts Print kernel version during build preps Sep 1, 2019
src Merge pull request #4867 from dorodnic/autocalib_adjustments Sep 16, 2019
third-party libtm: forward TABLE_NOT_EXIST message back to libRS Aug 27, 2019
tools Update Firmware logger - added enums Sep 9, 2019
unit-tests unit test Wheel_Odometry_API: copy calibration file to build folder Sep 9, 2019
wrappers Merge branch 'dev' Sep 22, 2019
.gitignore Add VSCode artifact to gitignore Jun 24, 2019
.travis.yml Adding PR-check script and documentation Feb 20, 2019
CMakeLists.txt Moved missing option to lrs_option and removed redundant declaration Aug 6, 2019 Adding PR-check script and documentation Feb 20, 2019
LICENSE (Tracked On: DSO-6823) Aug 23, 2017
NOTICE Replacing NOC-file-dialog with Tiny-File-Dialog Jun 24, 2019
appveyor.yml Fix appveyor prints of failing tests, Start tm2_context thread on tra… Oct 24, 2018
cmake_uninstall.cmake Add SONAME versions generation for debian distributions Sep 10, 2017 Code of Conduct Jan 9, 2019
package.xml Bump version Sep 16, 2019 Update Apr 11, 2019

CI State: Build Status


Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300) and the T265 tracking camera.

📌 For other Intel® RealSense™ devices (F200, R200, LR200 and ZR300), please refer to the latest legacy release.

The SDK allows depth and color streaming, and provides intrinsic and extrinsic calibration information. The library also offers synthetic streams (pointcloud, depth aligned to color and vise-versa), and a built-in support for record and playback of streaming sessions.

Developer kits containing the necessary hardware to use this library are available for purchase at Information about the Intel® RealSense™ technology at

📂 Don't have access to a RealSense camera? Check-out sample data

Download and Install

  • Download - The latest releases including the Intel RealSense SDK, Viewer and Depth Quality tools are available at: latest releases. Please check the release notes for the supported platforms, new features and capabilities, known issues, how to upgrade the Firmware and more.

  • Install - You can also install or build from source the SDK (on Linux \ Windows \ Mac OS \ Android), connect your D400 depth camera and you are ready to start writing your first application.

Support & Issues: If you need product support (e.g. ask a question about / are having problems with the device), please check the FAQ & Troubleshooting section. If not covered there, please search our Closed GitHub Issues page, Community and Support sites. If you still cannot find an answer to your question, please open a new issue.

What’s included in the SDK:

What Description Download link
Intel® RealSense™ Viewer With this application, you can quickly access your Intel® RealSense™ Depth Camera to view the depth stream, visualize point clouds, record and playback streams, configure your camera settings, modify advanced controls, enable depth visualization and post processing and much more. Intel.RealSense.Viewer.exe
Depth Quality Tool This application allows you to test the camera’s depth quality, including: standard deviation from plane fit, normalized RMS – the subpixel accuracy, distance accuracy and fill rate. You should be able to easily get and interpret several of the depth quality metrics and record and save the data for offline analysis. Depth.Quality.Tool.exe
Debug Tools Device enumeration, FW logger, etc as can be seen at the tools directory Included in Intel.RealSense.SDK.exe
Code Samples These simple examples demonstrate how to easily use the SDK to include code snippets that access the camera into your applications. Check some of the C++ examples including capture, pointcloud and more and basic C examples Included in Intel.RealSense.SDK.exe
Wrappers Python, C#/.NET, Node.js API, as well as integration with the following 3rd-party technologies: ROS, ROS2, LabVIEW, OpenCV, PCL, Unity, Matlab, OpenNI, UnrealEngine4 and more to come.

Ready to Hack!

Our library offers a high level API for using Intel RealSense depth cameras (in addition to lower level ones). The following snippet shows how to start streaming frames and extracting the depth value of a pixel:

// Create a Pipeline - this serves as a top-level API for streaming and processing frames
rs2::pipeline p;

// Configure and start the pipeline

while (true)
    // Block program until frames arrive
    rs2::frameset frames = p.wait_for_frames();

    // Try to get a frame of a depth image
    rs2::depth_frame depth = frames.get_depth_frame();

    // Get the depth frame's dimensions
    float width = depth.get_width();
    float height = depth.get_height();

    // Query the distance from the camera to the object in the center of the image
    float dist_to_center = depth.get_distance(width / 2, height / 2);

    // Print the distance
    std::cout << "The camera is facing an object " << dist_to_center << " meters away \r";

For more information on the library, please follow our examples, and read the documentation to learn more.


In order to contribute to Intel RealSense SDK, please follow our contribution guidelines.


This project is licensed under the Apache License, Version 2.0. Copyright 2018 Intel Corporation

You can’t perform that action at this time.