Skip to content
stereolabsPublic

Repository files navigation

ZED SDK

The ZED SDK is a cross-platform library designed to get the best out of the ZED cameras.
In this project, we provide tutorials and code samples to get started using the ZED SDK API.

Website · Store · API Reference · Community · Blog

SDK Version ZED Discourse Docker Pulls Github Stars


🎉 The ZED SDK 5.6 is released!

ZED SDK 5.6 delivers our most accurate depth yet, and faster depth across every mode. The new NEURAL_MAX mode sets a new bar for NEURAL accuracy, built for high-end GPUs such as Jetson AGX Thor and desktop GPUs. NEURAL_LIGHT, NEURAL and NEURAL_PLUS models show significant improvements in runtime with better point cloud density, fewer flying pixels and a closer minimum depth range: up to a third less time on Jetson Orin, Jetson Thor and DGX Spark. The INT8 8-bit precision mode now covers all depth modes for faster inference at a small cost in accuracy. On Jetson, NEURAL_LIGHT can even move to an accelerator and free the GPU for your application (experimental: the DLA with JetPack 6, the PVA with JetPack 6 and JetPack 7.2). And QUALITY, ULTRA and PERFORMANCE modes compute the same depth up to 3.8 times faster.

Tracking goes multi-camera. Multi-camera SLAM arrives through the Sensors API: several ZED and ZED One cameras mounted on one rig now track together and build a single shared map. Positional tracking can also take a motion prior from your own source, such as wheel odometry or an external VIO, to stay accurate through fast motion, low texture and occlusion. Simulation scales to any number of cameras, each with its own calibration, and their camera settings now reach the simulator.

The whole pipeline gets faster. Retrieving images and measures in CPU memory is now up to 3× faster, and SVO playback decodes straight into GPU memory. Multi-camera applications use less CPU time and GPU memory. In simulation, the acquisition stack has been further optimized to simulate even more cameras at once. Numerous fixes round out the release, across USB and GMSL camera recovery, image and IMU pairing, camera settings, lossless SVO recording on Jetson and the Sensors API.

Please check the Release Notes of the latest version for more details.

Overview

Depth Sensing Object Detection Body Tracking
Depth Sensing Object Detection Body Tracking
Positional Tracking Global Localization Spatial Mapping
Positional Tracking Global Localization Spatial Mapping
Camera Control Plane Detection Multi Camera Fusion
Camera Control Plane Detection Multi Camera Fusion

Why ZED?

  • 🎯 End-to-end spatial perception platform for human-like sensing capabilities.
  • ⚡ Real-time performance: all algorithms of the ZED SDK are designed and optimized to run in real-time.
  • 📷 Reduce time-to-market with our comprehensive, ready-to-use hardware and software designed for multiple applications.
  • 📖 User-friendly and intuitive, with easy-to-use integrations and well-documented API for streamlined development.
  • 🛠️ Wide range of supported platforms, from desktop to embedded PCs.

Getting started

The ZED SDK contains all the libraries that power your camera along with tools that let you experiment with its features and settings.

To get started:

The documentation and API reference are great starting points to learn more about the ZED SDK and its many modules.

Samples

This repository contains ready-to-use and samples to start using the ZED SDK with only a few lines of code. They are organized by ZED SDK module:

  • Tutorials - A series of basic tutorials that demonstrate the use of each API module.

  • Camera Control - This sample shows how to adjust the ZED camera parameters.

  • Camera Streaming - This sample shows how to stream and receive on local network the ZED's video feed.

  • Depth Sensing - This sample shows how to capture a 3D point cloud and display with OpenGL. It also shows how to save depth data in different formats.

  • Positional Tracking - This sample shows how to use positional tracking and display the result with OpenGL.

  • Global Localization - This sample shows how to fuse the ZED SDK's positional tracking with GNSS data for global positioning.

  • Spatial Mapping - This sample shows how to capture 3D meshes with the ZED and display it with OpenGL. Classic Mesh and Point Cloud fusion are available.

  • Object Detection - This sample shows how to use the Object Detection API module with the ZED.

  • Body Tracking - This sample shows how to use the Body Tracking API with the ZED.

  • Recording - This sample shows how to record and playback video files in SVO format. SVO files let you use all the ZED SDK features without having a ZED connected.

  • Plane Detection - These samples show how to detect planes and the floor plane in the scene.

  • Sensors API - These samples show how to use several ZED cameras, ZED One cameras and LiDARs together, with the sl::Sensors API or with one thread per device, and how to place them relative to each other.

  • ZED One - These samples show how to capture, record, play back and stream with the ZED One monocular cameras.

  • Virtual Stereo - This sample shows how to combine two ZED X One cameras into a virtual stereo camera.

Supported platforms

Here is the list of all supported operating systems for the latest version of the ZED SDK. Please find the recommended specifications to make sure your configuration is compatible with the ZED SDK.

Ubuntu LTS Windows Jetson

The ZED SDK requires the use of an NVIDIA GPU with a Compute Capability > 5.

If you are not familiar with the corresponding versions between NVIDIA JetPack SDK and Jetson Linux, please take a look at our blog post.

Integrations

The ZED SDK can be easily integrated into projects using the following programming languages:

C++ Python C# C

Thanks to its comprehensive API, ZED cameras can be interfaced with multiple third-party libraries and environments.

Unity Unreal Engine 5 OpenCV ROS ROS 2
Pytorch YOLO Matlab Isaac SIM Touch Designer

Community

Join the conversation and connect with other ZED SDK users to share ideas, solve problems, and help make the ZED SDK awesome. Our aim is to make it extremely convenient for everyone to communicate with us.

  • Discourse is our forum where all ZED users can connect. This is the best place to brainstorm and exchange about ZED cameras, ZED SDK software, and other Stereolabs products. Feel free to create an account and ask your questions, or even share your awesome projects!

  • Twitter Follow Stereolabs @Stereolabs3D for official news and release announcements.

  • GitHub If you come across a bug, please raise an issue in this GitHub repository.

  • Email To talk to Stereolabs directly, the easiest way is by email. Get in touch with us at support@stereolabs.com.