【发布时间】:2023-03-04 22:38:01
【问题描述】:
我刚刚下载并安装了 emgucv 库,按照 youtube 上的教程进行操作 - 将正确的 dll 引用添加到我的项目中,但在初始化 emgucv image 时出现错误
Image<Bgr,Byte> img=new Image<Bgr,Byte>(@"C:\Users\pro\Desktop\Itamar\LolTools\Autologin\Resources\Logo.png");
该库中最常见的异常:The type initializer for 'Emgu.CV.CvInvoke' threw an exception
我在网上搜索了很多解决方案,将 dll 文件复制到我项目中的 64x 目录,添加 dll 并设置 always copy 仍然没有任何效果。
我可能对此感到头疼,所以如果有人能提供帮助,我会很高兴。
【问题讨论】:
-
this question的可能重复