Emgu.CV.CvInvoke引发了EmguCV 2.4.2的异常 [英] Emgu.CV.CvInvoke threw an exception for EmguCV 2.4.2

查看:149
本文介绍了Emgu.CV.CvInvoke引发了EmguCV 2.4.2的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经过几次教程后,使用 EMGUCV 2.2.1 完成了基本的webcamera流媒体程序。然后我决定在 2.4.2 上升级EMGUCV版本,同一个程序向我抛出了一个异常'Emgu.CV.CvInvoke'。所以我在互联网上搜索解决方案,试了很多,但没有一个能为我工作。我正在使用 VS 2012 x64 (很多解决方案适用于VS 2010)和 64bit WIN7 。经过几个星期的斗争,我决定降级2.3并突然再次起作用。所以我发帖提问:有谁知道问题出在哪里/哪里?并帮助有同样问题的人。

After few tutorials a did the basic webcamera streaming program using EMGUCV 2.2.1. Then I decided to upgrade EMGUCV version on 2.4.2 and the same program threw me an exception 'Emgu.CV.CvInvoke'. So I was searching an Internet for solution, tried a lot of them and none of them worked for me. I'm using VS 2012 x64(a lot of solutions are for VS 2010) and 64bit WIN7. After several weeks of fighting with the problem, I decided to downgrade on 2.3 and suddenly it worked again. So I'm posting this question to ask: "Does anyone know what/where the problem is?" and to help people with same problem.

推荐答案

尝试使用EmguCV 2.4.9及以上版本。

检查是否有环境变量设置对于emgucv。

在环境变量中设置如下,

C:\ Emgu \emgucv-windows-universal-gpu 2.4.9.1847 \bin;

C:\ Emgu \emgucv-windows-universal-gpu 2.4.9.1847\bin\x64;

C:\ Emgu\emgucv-windows-universal-gpu 2.4.9.1847 \bin \ x86;

希望有效。
try to use EmguCV 2.4.9 and above.
check for emvironmental varible set or not for emgucv.
set following in environmental variable,
C:\Emgu\emgucv-windows-universal-gpu 2.4.9.1847\bin;
C:\Emgu\emgucv-windows-universal-gpu 2.4.9.1847\bin\x64;
C:\Emgu\emgucv-windows-universal-gpu 2.4.9.1847\bin\x86;
hope works.


这篇关于Emgu.CV.CvInvoke引发了EmguCV 2.4.2的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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