Open-source 3D-printable designs and parts lists for the SO-100/SO-101 low-cost robot arms, built to work with the LeRobot library.
realsenseai/librealsense
Cross-platform C++ SDK for Intel RealSense depth cameras, providing depth and color streaming plus intrinsic and extrinsic calibration data.
- Stars
- 9,087
- Forks
- 5,047
- Open issues
- 43
- Last commit
- 2 days ago
What is it?
librealsense is the SDK 2.0 for RealSense depth cameras. It lets applications open depth and color streams from supported devices and read intrinsic and extrinsic calibration information, so developers can work with 3D depth data from stereo cameras without writing low-level device drivers.
The SDK runs on Windows, Linux, macOS, Android and Docker, and includes Jetson and Raspberry Pi installation guides. Wrappers cover C++, C, C#, Python, ROS 2 and a REST API, and the repository ships example code, the RealSense Viewer for streaming and recording, and a Depth Quality Tool for measuring accuracy and fill rate.
The repository also adds GPU-accelerated processing via CUDA or AMD HIP/ROCm, selected at build time. It supports the D400-series stereo camera line, including the D455, D435if, D405, D457 and D555 PoE models.
Key features
- 01Depth and color streaming from RealSense cameras.
- 02Access to intrinsic and extrinsic calibration data.
- 03Wrappers for C++, C, C#, Python, ROS 2 and REST API.
- 04Runs on Windows, Linux, macOS, Android and Docker, with Jetson and Raspberry Pi guides.
- 05Bundled RealSense Viewer and Depth Quality Tool.
- 06Optional GPU acceleration through CUDA or AMD HIP/ROCm.
Use cases
- Adding depth sensing to robots or autonomous mobile platforms.
- Building 3D scanning or object measurement applications.
- Prototyping computer vision pipelines with ROS 2 or Python.
- Evaluating and tuning RealSense camera accuracy before deployment.
Quick start
- 1
Install the stable Python package
pip install pyrealsense2 - 2
Clone the repository and create a build directory
git clone https://github.com/realsenseai/librealsense.git && cd librealsense && mkdir build && cd build - 3
Configure the build with CMake
cmake .. - 4
Build the project
cmake --build .
Things to know
- Requires a RealSense depth camera to get the most out of the SDK.
- Some newer closed-source libraries are distributed separately through Perception Studio.
In collections
Topics
FAQ
- What is librealsense?
- Cross-platform C++ SDK for Intel RealSense depth cameras, providing depth and color streaming plus intrinsic and extrinsic calibration data. librealsense is the SDK 2.0 for RealSense depth cameras. It lets applications open depth and color streams from supported devices and read intrinsic and extrinsic calibration information, so developers can work with 3D depth data from stereo cameras without writing low-level device drivers.
- Is librealsense free to use? What license does it have?
- librealsense is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is librealsense still maintained?
- Actively maintained. The last commit to librealsense was on Nov 5, 2026.
- What can I use librealsense for?
- Adding depth sensing to robots or autonomous mobile platforms. Building 3D scanning or object measurement applications. Prototyping computer vision pipelines with ROS 2 or Python. Evaluating and tuning RealSense camera accuracy before deployment.
- How do I install librealsense?
- Install the stable Python package: pip install pyrealsense2 Clone the repository and create a build directory: git clone https://github.com/realsenseai/librealsense.git && cd librealsense && mkdir build && cd build Configure the build with CMake: cmake .. Build the project: cmake --build .
- Where can I get librealsense?
- The source code and installation instructions are on GitHub: https://github.com/realsenseai/librealsense
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An open-source, 3D-printable mini quadruped robot built on the ESP32 with an OLED face and servo-driven walking.
Python SDK and app platform for Reachy Mini, an open-source expressive desktop robot for developers and AI builders.
Open-source robot simulator for modeling, programming and simulating robots, vehicles and mechanical systems.
Open-source Rust toolkit for logging, visualizing, querying and streaming multimodal robotics and sensor data over time.
Browser-based tool for checking 3D and flatbed scans against CAD: fit features, measure, compare deviation, and reverse engineer into STEP.