异常1: 初次使用,如下代码报错,OpenCvSharp.OpenCvSharpException:“imread failed.” Mat src = Cv2.ImRead("Source.png", ImreadModes.Unchanged); 原因:检查Nuget包与OpencvSharp4库相关安装是否完整,需安装如下3个 OpenCvSharp4 OpenCvSharp4.runtime.win OpenCvSharp4.Extensions