An unusual solution to the EMGU CV

Source: Internet
Author: User

This year the group has a big project fell on my head, and can not go home like last year can also engage in cocos2dx, a Lao flow down ...

Back to the point, because the group needs to do a display board of automatic test project, involving computer Vision. I have to say, this is the big hole in the project. has been doing other basic library research and development, has recently started the development of visual recognition research progress. As there is no suitable open-source industrial camera in the market, only to try to try some of the pre-established visual library. Pre-project architecture in C #, naturally think of OPENCV in the packaging C # library EMGU CV, and this library cross-platform, very suitable for later porting to other platforms up, I chose this library to try.

In the process of the attempt, encountered a strange exception, the following sentence in the compilation period can pass, but there are many problems in the operation. When I was at home in the development, everything is normal, but the workflow to the company, the company machine is not functioning properly, loading exception, it is obvious that the X86 platform called the X64 DLL caused by the problem. According to the online, put Emgu X86 folder in the Debug folder, also can not load, at this time has collapsed, but in a long hours, careful than the company machine and home machine between the configuration, found a small place adjusted after the settlement.

Capture capture = new capture (); Create a camera Captue

Workaround steps: 1. VS platform, adjust the project properties from any CPU to X86

2. If your machine is X86, remember to place the path of the Emgu X86 folder in the environment variable before you place it in the X64 folder path. It took a few hours of my energy to just this difference.

Small hands shake, spread a little experience, let more trapped emgu in X86 and X64 platform differences in the clutches of people to solve the problem

An unusual solution to the EMGU CV

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.