首页 > 解决方案 > 最近的 Windows 更新后 EmguCV 无法正常工作

问题描述

我已经下载并安装了 EmguCV。并尝试运行附带的示例。但它为每个示例项目提供“ 'Emgu.CV.CvInvoke' 的类型初始化程序引发异常”异常。在 Windows 更新之前它工作正常。
我试图重新安装它,但它仍然没有工作。
我正在使用 vs2017 在 c# 中实现它
请告诉我我该怎么做?

标签: c#emgucvwindows-update

解决方案


I got the similar Exception while running the code after attaching the EmguCV Library, but when I install it from NuGet Manager it got resolved.

Steps:-

Go to Solution Explorer of the project -> Right Click on References and click on Manage NuGet Packages -> In the Browse Section just write Emgu Cv and install it.

It will automatically add the refereneces and It will work.

Hope That helps


推荐阅读