void openImage(Mat img) {
if (!img.data){
cout << "there are no readable data" << endl;
}
else {
namedWindow("Example1", CV_WINDOW_NORMAL);
imshow("Example1", img);
cv::waitKey(0);
}
} plz someone help because my code was running and now the imshow just break and cant don nthing plz help me