Difference between revisions of "Download And Installation"

From Emgu CV: OpenCV in .NET (C#, VB, C++ and more)
Jump to: navigation, search
m (Linux)
m (Visual Studio)
Line 41: Line 41:
 
</code>
 
</code>
 
in the top of your code to include the Emgu.CV namespace.
 
in the top of your code to include the Emgu.CV namespace.
*Follow the [[Tutorial]] to learn how to use Emgu CV. The [[Tutorial#Hello, World | "Hello, World" Examples]] is a good starting point.
+
*Follow the [[Tutorial]] to learn how to use Emgu CV. The [[Tutorial#Hello, World | "Hello, World" Example]] is a good starting point.

Revision as of 20:33, 11 March 2008

Getting the Source

  • Follow this link to access the file server on Source Forge.
  • The source files are contained in the package Emgu.CV.Source.zip

Getting the Dependency

Windows

  • Emgu CV library use WCF(Windows Communication Fundation) and therefore requires .Net 3.0
  • For Windows, OpenCV 1.0.0.1 and zlib.net Dlls are included in Emgu.CV.Windows.Binary.zip

Linux

  • To run Emgu CV on linux, you need Mono version >= 1.2.6 and OpenCV version >= 1.0.0. On fedora 8, you can install the dependency by running yum install mono-core opencv as root
  • Emgu CV library use WCF(Windows Communication Fundation) and therefore requires mono-olive. Which can be installed by running
rpm -iUh http://www.openmamba.org/download.html?file=/pub/openmamba/devel-stefano/RPMS.i586/mono-olive-svn20070703-1mamba.i586.rpm 

as root

  • For Linux, zlib.net dll is included in Emgu.CV.Linux.Binary.tar.gz

Getting the Binary

Follow this link to access the file server on Source Forge.

Windows

  • The binary files for Windows are included in the package Emgu.CV.Windows.Binary.zip
  • They are compiled from source on Windows using MsBuild

Linux

  • The binary files for Linux are included in the package Emgu.CV.Linux.Binary.tar.gz
  • They are compiled from source in Fedora 8 using mono-1.2.6 with flag LINUX

Making it work

Visual Studio

To use the framework in Visual Studio, you need to

  • Create a new Visual Studio project or use an existing one
  • Add the 3 files zlib.net.dll, Emgu.Utils.dll and Emgu.CV.dll to References of the project
  • Copy the OpenCV dll files: cv100.dll, cvaux100.dll, cvcam100.dll, cxcore100.dll, cxts001.dll, highgui100.dll, libguide40.dll and ml100.dll to the execution directory.
  • Optionally put the following line

using Emgu.CV;

in the top of your code to include the Emgu.CV namespace.