Skip to content

atolab/zenoh-flow-cpp-opencv-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example C++ Zenoh Flow Operator with OpenCV

Join the chat at https://gitter.im/atolab/zenoh-flow

Zenoh Flow provides a Zenoh-based dataflow programming framework for computations that span from the cloud to the device.

⚠️ This software is still in alpha status and should not be used in production. Breaking changes are likely to happen and the API is not stable.


Description

⚠️ This example works only on Linux and it require OpenCV with CUDA enabled to be installed, please follow the instruction on this gits to install it.

⚠️ This example works only on Linux and it require a CUDA capable NVIDIA GPU, as well as NVIDIA CUDA and CuDNN to be installed, please follow CUDA instructions and CuDNN instructions.

⚠️ This examples uses a JSON library for parsing the configuration, it can be found Here

Compiling

Requirements

Generating the shared library

Manually

On Unix-based machines.

mkdir build && cd build
cmake ..
make

This will:

  1. "patch" the header file include/wrapper.hpp,
  2. compile the Rust code located under the vendor/wrapper folder and generate a static library libwrapper.a,
  3. compile the C++ wrapper code,
  4. compile the operator,
  5. link everything together producing build/libcxx_operator.so.

The libcxx_operator library can then be loaded by Zenoh Flow!

Single command:

make fresh

The libopencv_dectect_op library can then be loaded by Zenoh Flow!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published