如何在MVC.NET项目中使用EmguCV [英] How use EmguCV in a MVC.NET project

查看:728
本文介绍了如何在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.

我尝试使用官方网站的解决方案<一个href=\"http://www.emgu.com/wiki/index.php/Download_And_Installation#The_type_initializer_for_.27Emgu.CV.CvInvoke.27_threw_an_exception.\"相对=nofollow> 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

这篇关于如何在MVC.NET项目中使用EmguCV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆