Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

stereolabs/zed-c-api

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C API

This package lets you use the ZED stereo camera in C .The C API is a wrapper around the ZED SDK which is written in C++ optimized code.

Getting started

Prerequisites

To start using the ZED SDK in C, you will need to install the following dependencies on your system:

Installing the C API

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
  • Build the solution in Release mode
  • Build INSTALL.

Linux

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

    mkdir build
    cd build
    cmake ..
    make
    sudo make install

Use the C api

  • Link your project to the sl_zed_c library
  • Import the c interface in your code like this :
  #include <sl/c_api/zed_interface.h>

Run the tutorials

The tutorials provide simple projects to show how to use each module of the ZED SDK.

Support

If you need assistance go to our Community site at https://community.stereolabs.com/

Morty Proxy This is a proxified and sanitized view of the page, visit original site.