Skip to content

traversaro/cpp-example-opencv-eigen

 
 

Repository files navigation

C++ Example with OpenCV and Eigen

This is a minimal CMake project that shows how to use Rerun in your code in conjunction with Eigen and OpenCV.

Installing the Rerun viewer

The Rerun C++ SDK works by connecting to an awaiting Rerun Viewer over TCP.

Building from source

Using pip

  • pip install rerun-sdk

Running the Rerun viewer

Just type rerun and the rerun viewer should show up. Then it is time to run this example!

Run this example

Using pixi

The easiest way to get started is to install pixi.

  • Start the rerun viewer with rerun (see above)
  • Run the example with pixi run run

Manually

First install the required dependencies:

  • arrow-cpp (required by Rerun)
  • eigen and opencv (required by this example)
  • cmake and ninja (build tools)

Build using:

mkdir build
cd build
cmake ..
cmake --build . -- -j8

Then run the binary with:

build/rerun_ext_example

About

Example of the Rerun C++ API with OpenCV and Eigen

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.9%
  • CMake 11.1%