Skip to content
Branch: master
Find file History
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Update for 3.0 ZED SDK release Jan 24, 2020
CMakeLists.txt Update for 3.0 ZED SDK release Jan 24, 2020 Update copyright notice + readme OS req Jan 13, 2020

Stereolabs ZED - Depth Sensing with Streaming

This sample captures a 3D point cloud and display it in an OpenGL window. It shows how to:

  • Get a 3D point cloud with the API.
  • Display point cloud in OpenGL.
  • Use a thread to capture the point cloud and update the GL window simultaneously.
  • Use streaming input mode. Need ZED_Streaming_Sender to operate.

To retrieve a depth map of the scene, see Depth Sensing tutorial.

Getting started


  • Windows 10, Ubuntu LTS
  • ZED SDK and its dependencies (CUDA)

Build the program

Build for Windows

  • Create a "build" folder in the source folder
  • Open cmake-gui and select the source and build folders
  • Generate the Visual Studio Win64 solution
  • Open the resulting solution and change configuration to Release
  • Build solution

Build for Linux

Open a terminal in the sample directory and execute the following command:

mkdir build
cd build
cmake ..

Run the program

  • Navigate to the build directory and launch the executable file

  • Or open a terminal in the build directory and run the sample :

      ./ZED_Streaming_Receiver <ip:port>
You can’t perform that action at this time.