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.
- First, download the latest version of the ZED SDK on stereolabs.com.
- For more information, read the ZED API documentation.
To start using the ZED SDK in C, you will need to install the following dependencies on your system:
- ZED SDK 4.2.0 and its dependency CUDA
- 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.
Open a terminal in the root directory and execute the following command:
mkdir build
cd build
cmake ..
make
sudo make install
- 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>
The tutorials provide simple projects to show how to use each module of the ZED SDK.
If you need assistance go to our Community site at https://community.stereolabs.com/