如何在MVC.NET项目中使用EmguCV

问题描述:

我用Emgu在一个WinForm和工作正常,但现在我尝试使用emguCV做出mvc.net项目,但不工作,我有错误:

I use Emgu in a WinForm and works fine, now I try to make a mvc.net project using emguCV but don't work, I have the error:

有关'Emgu.CV.CvInvoke'的类型初始值引发了异常。

The type initializer for 'Emgu.CV.CvInvoke' threw an exception.

我尝试使用官方网站的解决方案 emguCV ,我无法理解如何在IIS防爆preSS作出这样的网络,并实现OpenCV的librairies。

I try to use the solutions of THE OFFICIAL WEBSITE emguCV and I can't understand how make that for web, and implement the OpenCV librairies in IIS Express .

什么是在一个网站使用EmguCV正确的方法是什么?

what is the correct way to use EmguCV in a web site?

ENGUCV作品在出版MVC项目,这个问题是在发展的,因为它不能与IIS前preSS工作,但我找到一种方法,使用计算机的本地IIS。

ENGUCV works in the publish MVC project, the problem is in the development because it can't work with IIS express, but I find a way, use the local IIS of the machine.

打开IIS如果它是desactivated,

turn on IIS if It's desactivated,

控制面板/程序/启动Windows组件/ IIS(存在诸多选项中打开)

control panel / programs/activate Windows Components / IIS (exist many options to turn on)

运行VS如何管理

在项目属性中选择本地IIS用于调试属性/网络/服务器/本地IIS

in the project properties select local IIS for debugging Properties / Web / Servers / Local IIS

和玩!

有关更多的选择使用IIS控制台

for more options use the IIS console

控制面板/管理工具/ IIS

control panel / Admin Tools / IIS