Build the latest version of OpenCV (EMGU CV) development environment under C #

Source: Internet
Author: User

Since it's the latest version.

First of all, go to SF to find the installation package:

https://sourceforge.net/projects/emgucv/files/emgucv/

Or go to the GitHub homepage and clone the code to compile it yourself:

Https://github.com/emgucv/emgucv

For the latest information, here:

http://www.emgu.com/

===============================================

I chose the form of the installation package and installed it.

The default path. After you have installed the directory, you can see a list of the files directory:

In fact, most of the code, into the bin directory, there are compiled, the project will use these:

OK, open vs

Create a new WinForm project and add these references:

Emgu's Bin directory has a ZedGraph.DLL file copied to the build directory of the VS project, as well as the x86 and x64 folders, as well as copying the files inside the VS project's build directory as needed. Incidentally, the Engineering command platform is also configured as the same.

This will be configured as well.

Try loading a picture with a CV:

Public Form1 (string[] argv) {InitializeComponent (); IMAGE<BGR, byte> img = new IMAGE<BGR, byte> ("d:/1.bmp"); This. BackgroundImage = img. Tobitmap ();                }

Run, Picture loaded successfully ~

Build the latest version of OpenCV (EMGU CV) development environment under C #

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.