/zed-opencv

ZED SDK interface sample for OpenCV

Primary LanguageC++MIT LicenseMIT

Stereolabs ZED - OpenCV

This sample is the perfect place to get started coding with the ZED and OpenCV. It shows how to:

  • Capture image, depth and point cloud from the ZED.
  • Convert image and depth map to compatible 32-bits float OpenCV matrix.
  • Display video and depth with OpenCV.
  • Adjust several depth parameters: depth sensing mode, quality, units, resolution.
  • Save side by side image, depth image and point cloud in various formats

Getting started

Prerequisites

  • Windows 7 64bits or later, Ubuntu 16.04 or 18.04
  • ZED SDK and its dependencies (CUDA, OpenCV)

C++

Read the guide to learn how to build and launch this sample in C++.

Python

Read the guide to learn how to build and launch this sample in Python.