Skip to content
shimat edited this page Dec 22, 2013 · 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 Blob / MachineLearning / CPlusPlus

ml and cvblob are implemented with C++, therefore OpenCvSharp.Blob, OpenCvSharp.MachineLearning and OpenCvSharp.CPlusPlus depend 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:

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