stereolabs / zed-tracking-viewer

[DEPRECATED] ZED SDK sample to show the tracking capability
MIT License
17 stars 10 forks source link

This sample is deprecated and no longer maintained for the ZED SDK >= 2.X, please use this one instead

Stereolabs ZED - Positional Tracking

This sample shows how to track the motion of the camera in 3D space with six degrees of freedom (6DoF). The code included in this example captures and displays a live point cloud of the scene along with 3D camera path.

Getting started

Prerequisites

Build the program

Download the sample and follow these instructions:

Build for Windows

Build for Linux

Open a terminal and run the following command to clone and build the sample:

git clone https://github.com/stereolabs/zed-tracking-viewer.git
cd zed-tracking-viewer
mkdir build
cd build
cmake ..
make

Run the program

You can optionally provide an SVO file path (recorded stereo video of the ZED)

Features

This sample shows how to capture and display the current scene depth and 3D camera movement:

Tracking viewer

NOTE: Camera tracking is based on 3D vision only. Quick and sudden camera movements can be difficult to track if the image is blurry or there is no visual information in the scene. To improve tracking performance, we recommend using the ZED in HD720 mode at 60fps.

Limitations