Emgu CV is a cross platform .Net wrapper to the Intel OpenCV image processing library. Allowing OpenCV functions to be called from .NET compatible languages such as C#, VB, VC++, IronPython etc. The wrapper can be compiled in Mono and run on Linux / Mac OS X.
- 2010-12-15 Emgu.CV-188.8.131.520 is available in sourceforge. See change log and known issues.
- 2010-04-06 Emgu.CV-184.108.40.206 is available in sourceforge. It is released on the same day as OpenCV 2.1! In this release we have keep up our cross platform promise and release binaries for 64-bit windows, as well as 32 & 64 bit debian package for Unbuntu and 32 bit rpm package for Fedora 12! See change log and known issues.
- 2009-10-25 Emgu.CV-220.127.116.11 is available in sourceforge. Welcome to the first .NET wrapper that is compatible with OpenCV 2.0! See change log and known issues.
- 2009-07-12 Emgu.CV-18.104.22.168 Alpha is available in sourceforge. This version is built with OpenCV SVN 1918 and is not recommend for production environment. See change log and known issues.
A Comparison of OpenCV Wrappers
|Name||Emgu CV Commercial||Emgu CV (Open Source)||OpenCVSharp||OpenCVDotNet||SharperCV||Code Project|
|Intel TBB (Multi-Thread)||X||X||X||X||X|
|Intel IPP (high performance)||X||X||X||X||X|
|Intel C++ Compiler (fast code)||X||X||X||X||X|
|RPM release Fedora||X||X||X||X|
|Debian release for Ubuntu||X||X||X||X|
"Actively Maintained" refers to update within one year.
Advantage of Emgu CV
Unlike other wrappers such as OpenCVDotNet, SharperCV or Code Project which use unsafe code, Emgu CV is written entirely in C#. The benefit is that it can be compiled in Mono and therefore is able to run on any platform Mono supports, including Linux, Solaris and Mac OS X. A lot of efforts has been spend to have a pure C# implementation since the headers have to be ported, compared with managed C++ implementation where header files can simply be included. But it is well worth it if you see Emgu CV running on Fedora 10! Plus it always gives you the comfort knowing that your code is cross-platform.
Cross Language and comes with example code
Emgu CV can be used from several different languages, including C#, VB.NET, C++ and IronPython. On this wiki, we provide examples for all those languages, which are available from the Examples section on Tutorial page. Our Discussion Forum is also available if you have any questions related to your favourite programming language.
- Image class with Generic Color and Depth
- Automatic garbage collection
- XML Serializable Image
- XML Documentation and intellisense support
- The choice to either use the Image class or direct invoke functions from OpenCV
- Generic operations on image pixels
Emgu CV has two layers of wrapper as shown below
- The basic layer (layer 1) contains function, structure and enumeration mappings which directly reflect those in OpenCV.
- The second layer (layer 2) contains classes that mix in advantanges from the .NET world.