-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Tutorial for Unix
shimat edited this page Dec 22, 2013
·
3 revisions
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.
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.
To compile OpenCvSharpExtern, you need to use CMake.
Git is needed for executing the following command.
git clone https://github.com/shimat/opencvsharp.git
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.