代码编译无问题,在运行时出现以上问题,图片路径无中文。
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.5.4) ./modules/core/src/array.cpp:2494: error: (-206:Bad flag (parameter or structure field)) Unrecognized or unsupported array type in function 'cvGetMat'