Skip to content

obraun-sl/zed-object-detection-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Object Detection Viewer with ZED SDK

This sample shows how to detect and track objects in space and display it. It demonstrates how to:

  • Detect and track objects in the scene using the ZED SDK API
  • Show the image with 3D bounding box in a similar way than ZED Unity Plugin but with OpenGL.

Getting started

NOTE: A ZED 2 is required to run use this module.

Prerequisites

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

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 ..
  • make

Run the program

  • Navigate to the build directory and launch the executable

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

    ./ZED_Object_Detection_Viewer <optional-parameters>
    
    * <optional-parameters> can be a resolution for example HD2K : `./ZED_Object_Detection_Viewer HD2K`
    * <optional-parameters> can be a SVO file for example : `./ZED_Object_Detection_Viewer path_to_svo.svo`
    * <optional-parameters> can be a IP stream input for example : `./ZED_Object_Detection_Viewer <ip>` where ip is the sender IP (Use Camera\ Streaming/Sender)
    

Overview

Overview

Options

#define WITH_TRAJECTORIES in GLViewer.hpp --> Add 3D trajectories view

About

OpenGL-based ZED object detection viewer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published