Answer the question
In order to leave comments, you need to log in
What if imshow("Image", image); Exception not handled?
What is the problem?
And:
Here's what opens up:
Here's what Visual Studio 2019 doesn't like
#include<opencv2\highgui\highgui.hpp>
#include<opencv2\core\core.hpp>
#include<opencv2\opencv.hpp>
#include<stdio.h>
using namespace cv;
using namespace std;
double minval, maxval; // не обращайте внимание
int main(int argc, const char** argv)
{
setlocale(LC_ALL, "Russian");
string ishod_im = "C:\\png\\screen.png";
Mat image = imread(ishod_im);
imshow("Image", image);
waitKey(0);
return 0;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question