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