Download And Installation: Difference between revisions

From EMGU
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Getting the Source==
==Windows==
*Follow [http://sourceforge.net/project/showfiles.php?group_id=216500 this link] to the file server on Source Forge.
===Getting the Dependency===
*The source files are contained in the package '''Emgu.CV.SourceAndExamples-{version}.zip'''
 
==Getting the Dependency==
===Windows===
*[[Emgu CV]] use WCF(Windows Communication Foundation) therefore requires .Net 3.0
*[[Emgu CV]] use WCF(Windows Communication Foundation) therefore requires .Net 3.0


*For Windows, [[OpenCV]] 1.1pre, zlib.net and ZedGraph Dlls are included in '''Emgu.CV.Windows.Binary-{version}.zip'''
===Building the Examples===
*Follow [http://sourceforge.net/project/showfiles.php?group_id=216500 this link] to the file server on Source Forge.
*Download and extract the package '''Emgu.CV.SourceAndExamples-{version}.zip'''


===Linux===
===Creating a New Project in Visual Studio===
*To run [[Emgu CV]] on linux, you need [[OpenCV]] version >= 1.0.0. On [http://fedoraproject.org/ Fedora] 10, you can install the dependency by running <code> yum install opencv </code> as root
 
* [[Mono]]
** You need [[Mono]] >= 2.2. If you need to compile [[Emgu CV]] from source, do NOT use gmcs 2.0.0 / 2.0.1, there is a bug in these two versions.
** [[Emgu CV]] library use WCF (Windows Communication Fundation) and therefore also requires mono-extra.
** You can install both by running <code> yum install mono-core mono-extra </code> as root. (Please enable rawhide repository in order to get [[Mono]] >= 2.2)
 
*For Linux, zlib.net dll is included in '''Emgu.CV.Linux.Binary-{version}.tar.gz'''
 
==Getting the Binary==
Follow [http://sourceforge.net/project/showfiles.php?group_id=216500 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-{version}.zip'''
 
*They are compiled from [[download-url#Source | source]] on Windows using MsBuild
 
===Linux===
*The binary files for Linux are included in the package '''Emgu.CV.Linux.Binary-{version}.tar.gz'''
 
*They are compiled from [[download-url#Source | source]] in [http://fedoraproject.org/ Fedora] 9 using mono-1.9.1 with flag LINUX
 
==Creating Your Project==
===Visual Studio===
To use the framework in Visual Studio, you need to
To use the framework in Visual Studio, you need to
* Download and extract the binary files package '''Emgu.CV.Windows.Binary-{version}.zip''' (They are compiled from [[download-url#Source | source]] on Windows using MsBuild)
*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> and <code>Emgu.CV.dll</code> to ''References'' of the project
*Add the 3 files <code>zlib.net.dll</code>, <code>Emgu.Utils.dll</code> and <code>Emgu.CV.dll</code> to ''References'' of the project
Line 43: Line 19:
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 [[Hello_World_in_CSharp | "Hello, World" Example]] is a good starting point.
*Follow the [[Tutorial]] to learn how to use Emgu CV. The [[Hello_World_in_CSharp | "Hello, World" Example]] is a good starting point.
==Linux==
===Getting the Dependency===
* [[Mono]]
** You need [[Mono]] >= 2.2. If you need to compile [[Emgu CV]] from source, do NOT use gmcs 2.0.0 / 2.0.1, there is a bug in these two versions.
** [[Emgu CV]] library use WCF (Windows Communication Fundation) and therefore also requires mono-extra.
** You can install both by running <code> yum install mono-core mono-extra </code> as root. (Please enable rawhide repository in order to get [[Mono]] >= 2.2)
Follow [http://sourceforge.net/project/showfiles.php?group_id=216500 this link] to access the file server on Source Forge.
* [[OpenCV]]
** We will build a custom version of OpenCV in the next step. It is recommended to remove any OpenCV package if it is installed on your machine. On [http://fedoraproject.org/ Fedora] 10, you can remove OpenCV by running <code> yum remove opencv </code> as root
===Building Emgu CV from source===
To Be Updated

Revision as of 16:25, 29 April 2009

Windows

Getting the Dependency

  • Emgu CV use WCF(Windows Communication Foundation) therefore requires .Net 3.0

Building the Examples

  • Follow this link to the file server on Source Forge.
  • Download and extract the package Emgu.CV.SourceAndExamples-{version}.zip

Creating a New Project in Visual Studio

To use the framework in Visual Studio, you need to

  • Download and extract the binary files package Emgu.CV.Windows.Binary-{version}.zip (They are compiled from source on Windows using MsBuild)
  • 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: cv110.dll, cvaux110.dll, cxcore110.dll, highgui110.dll, ffopencv110.dll and ml110.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.

Linux

Getting the Dependency

  • Mono
    • You need Mono >= 2.2. If you need to compile Emgu CV from source, do NOT use gmcs 2.0.0 / 2.0.1, there is a bug in these two versions.
    • Emgu CV library use WCF (Windows Communication Fundation) and therefore also requires mono-extra.
    • You can install both by running yum install mono-core mono-extra as root. (Please enable rawhide repository in order to get Mono >= 2.2)

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

  • OpenCV
    • We will build a custom version of OpenCV in the next step. It is recommended to remove any OpenCV package if it is installed on your machine. On Fedora 10, you can remove OpenCV by running yum remove opencv as root

Building Emgu CV from source

To Be Updated