Download And Installation: Difference between revisions

From EMGU
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Source==
==Getting the Source==
*Follow [http://sourceforge.net/project/showfiles.php?group_id=216500 this link] to access the file server on Source Forge.
*Follow [http://sourceforge.net/project/showfiles.php?group_id=216500 this link] to access the file server on Source Forge.
*The source files are contained in the package '''Emgu.CV.Source.zip'''
*The source files are contained in the package '''Emgu.CV.Source.zip'''


==Dependency==
==Getting the Dependency==
===Windows===
===Windows===
*Follow [http://sourceforge.net/project/showfiles.php?group_id=216500 this link] to access the file server on Source Forge.
*Follow [http://sourceforge.net/project/showfiles.php?group_id=216500 this link] to access the file server on Source Forge.
Line 19: Line 19:
*Part of the Emgu CV library use WCF(Windows Communication Fundation) and therefore also depends on mono-olive. Which can be installed by running <code> rpm -iUh http://www.openmamba.org/download.html?file=/pub/openmamba/devel-stefano/RPMS.i586/mono-olive-svn20070703-1mamba.i586.rpm </code> as root
*Part of the Emgu CV library use WCF(Windows Communication Fundation) and therefore also depends on mono-olive. Which can be installed by running <code> rpm -iUh http://www.openmamba.org/download.html?file=/pub/openmamba/devel-stefano/RPMS.i586/mono-olive-svn20070703-1mamba.i586.rpm </code> as root


 
==Getting the Binary==
==Binary==
===Windows===
===Windows===
*The binary files for Windows are contained in the package '''Emgu.CV.Windows.Binary.zip'''
*The binary files for Windows are contained in the package '''Emgu.CV.Windows.Binary.zip'''
Line 31: Line 30:
*The Binary files are compiled from [[download-url#Source | source]] in [http://fedoraproject.org/ Fedora] 8 using mono-1.2.6 with flag LINUX
*The Binary files are compiled from [[download-url#Source | source]] in [http://fedoraproject.org/ Fedora] 8 using mono-1.2.6 with flag LINUX


==Using the framework==
==Making it work==
===Visual Studio===
===Visual Studio===
To use the framework in Visual Studio, you need to
To use the framework in Visual Studio, you need to
*Create a new Visual Studio project or use an existing one
*Create a new Visual Studio project or use an existing one
*Add the 3 files <code>zlib.net.dll</code>, <code>Emgu.Utils.dll</code>, <code>Emgu.CV.dll</code> to your project reference
*Add the 3 files <code>zlib.net.dll</code>, <code>Emgu.Utils.dll</code>, <code>Emgu.CV.dll</code> to the References of the project
*Copy the OpenCV .dll files: <code>cv100.dll</code>, <code>cvaux100.dll</code>, <code>cvcam100.dll</code>, <code>cxcore100.dll</code>, <code>cxts001.dll</code>, <code>highgui100.dll</code>, <code>libguide40.dll</code> and <code>ml100.dll</code> to the execution path.
*Add the OpenCV .dll files: <code>cv100.dll</code>, <code>cvaux100.dll</code>, <code>cvcam100.dll</code>, <code>cxcore100.dll</code>, <code>cxts001.dll</code>, <code>highgui100.dll</code>, <code>libguide40.dll</code> and <code>ml100.dll</code> to the execution directory.
*Optionally, use the name space Emgu.CV by putting
*Optionally put the following line
<code>
<code>
  using Emgu.CV;
  using Emgu.CV;
</code>
</code>
at the top of your code.
in the top of your code to include the Emgu.CV namespace.
*Follow the [[Tutorial#Examples]] to learn how to use Emgu CV
*Follow the [[Tutorial]] to learn how to use Emgu CV or alternatively, follows the [[Tutorial#Hello, World | "Hello, World" Examples]] for a quick start

Revision as of 22:01, 28 February 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

  • Follow this link to access the file server on Source Forge.
  • For Windows, download the dependency package Emgu.CV.Windows.Dependency.zip which includes the Dll files for OpenCV 1.0.0.1 runtime and zlib.net runtime.
  • Part of the Emgu CV library use WCF(Windows Communication Fundation) and therefore depends on .Net 3.0

Linux

  • Follow this link to access the file server on Source Forge.
  • For Linux, download the dependency package Emgu.CV.Linux.Dependency.tar.gz which include the Dll files for zlib.net runtime.
  • To run Emgu CV on linux, you need Mono version >= 1.2.6, opencv version >= 1.0.0. On fedora 8, you can install the dependency by running yum install mono-core opencv as root

Getting the Binary

Windows

  • The binary files for Windows are contained in the package Emgu.CV.Windows.Binary.zip
  • The Binary files are compiled from source on Windows using Visual Studio 2005

Linux

  • The binary files for Linux are contained in the package Emgu.CV.Linux.Binary.tar.gz
  • The Binary files 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, Emgu.CV.dll to the References of the project
  • Add 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.