Emgu cv 调用异常 c#
Emgu cv invoke exception c#
我刚刚下载并安装了 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
仍然没有任何效果。
我可能为此伤透了脑筋,所以如果有人能提供帮助,我将非常高兴。
如果您的 IDE 是 visual studio,请按照以下步骤操作:
项目 -> 属性 -> 构建
然后让你的平台目标为 x64
我刚刚下载并安装了 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
仍然没有任何效果。
我可能为此伤透了脑筋,所以如果有人能提供帮助,我将非常高兴。
如果您的 IDE 是 visual studio,请按照以下步骤操作:
项目 -> 属性 -> 构建
然后让你的平台目标为 x64