Skip to content
TANIGUCHI Masaya edited this page Mar 13, 2018 · 3 revisions

Requirements

How to use OpenCvSharp

Put OpenCvSharp.dll in the same directory as the executable file. OpenCvSharp.dll is implemented as pure .NET assembly, so it can work in the same manner as Windows by Mono.

How to use CPlusPlus

The OpenCvSharp.CPlusPlus assembly is implemented with C++, therefore it depends on the C++ wrapper OpenCvSharpExtern. You need to compile OpenCvSharpExtern for your own Unix platform.

Requirements

To compile OpenCvSharpExtern, you need to use CMake.

Downloading the Source Code

Git is needed for executing the following command.

git clone https://github.com/shimat/opencvsharp.git 

Make

Type the following code in a console:

cd opencvsharp/src
cmake .
make

When successfully compiled, OpenCvSharpExtern/libOpenCvSharpExtern.so is generated. Put the generated file in the same directory as the executable file.

Clone this wiki locally