Problem in qt
Hi guys...i got output as empty terminal window while compiling following simple display an image program using qt with opencv in ubuntu.
code
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
int main()
{
cv::Mat image= cv::imread("img.jpg");
cv::namedWindow("My Image");
cv::imshow("My Image", image);
cv::waitKey(5000);
return 1;
}
give me solution?
thankyou
dhanash