4,246
社区成员
发帖
与我相关
我的任务
分享
#include<QDebug>
#include <opencv2/opencv.hpp>
using namespace cv;
int main()
{
// QCoreApplication a(argc, argv);
Mat img = imread("fengjin.jpg") ;//调试到这里,就报错
if(img.empty())
{
qDebug() <<"加载图像失败" << endl;
}
waitKey();
return 0;
}