Ask Your Question

supriya123's profile - activity

2017-04-28 03:58:49 -0600 received badge  Taxonomist
2016-03-01 09:56:32 -0600 asked a question what is error in this question

include “stdafx.h”

include “opencv2\highgui\highgui.hpp”

include “iostream”

using namespace cv; using namespace std; int main(){

Mat im = imread("C:\\Users\\supriya123\\Desktop\\cake.jpg");
if (im.empty()){

    cout<< "Cannot load image!";
    return -1;

}

imshow("Image", im);
waitKey(0);

}