c# - 最近的 Windows 更新后 EmguCV 无法正常工作
问题描述
我已经下载并安装了 EmguCV。并尝试运行附带的示例。但它为每个示例项目提供“ 'Emgu.CV.CvInvoke' 的类型初始化程序引发异常”异常。在 Windows 更新之前它工作正常。
我试图重新安装它,但它仍然没有工作。
我正在使用 vs2017 在 c# 中实现它
请告诉我我该怎么做?
解决方案
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
推荐阅读
- html - 如何使用 CSS 操作内联 SVG 地图中的元素?
- c - 这是错误还是内存意外?
- json - 以 json 格式为 websocket 构建正确的 graphql 内省查询
- arrays - 检查多个 bash 数组是否为 gt 0
- angular - 更新到@cds/angular@5.0.2
- r - data.table::fread - 在 MSWindows 环境中过滤读取数据
- python - ImportError:无法在 Keras 中导入名称“Sequential”
- html - html模板中的wagtail svg未呈现
- c# - C# log4net 多用途文件日志记录
- mysql - SELECT * FROM 动态检索表名