xp系统调用opencv出错,求各位大佬解答一下
opencv吧
全部回复
仅看楼主
level 2
当前时间:2018-8-1 10:13:18
异常信息:The type initializer for 'OpenCvSharp.NativeMethods' threw an exception.
异常对象:OpenCvSharp
调用堆栈:
at OpenCvSharp.NativeMethods.imgcodecs_imread(String filename, Int32 flags)
at OpenCvSharp.Mat..ctor(String fileName, ImreadModes flags)
at OpenCvSharp.Cv2.ImRead(String fileName, ImreadModes flags)
at MSSClient.Utils.OcrUtil.DetectImage(String path, String dic) in E:\MssClient_20180608_OcrDev\MSSClient\Utils\OcrUtil.cs:line 28
at MSSClient.MSSWindow.AddImageToTreeList(Bitmap bitmap, String filePath, String type, String dic) in E:\MssClient_20180608_OcrDev\MSSClient\MSSWindow.xaml.cs:line 718
触发方法:IntPtr imgcodecs_imread(System.String, Int32)
在xp运行调用opencv的方法,报这个错,麻烦各位大佬解答一下,这个问题是什么原因造成的
2018年08月01日 02点08分 1
level 15
求求你至少用个win7
2018年08月10日 15点08分 2
level 1
2018年12月16日 15点12分 3
1