Answer the question
In order to leave comments, you need to log in
How to display image via OPENCV?
I have the following code:
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/opencv.hpp>
...
Mat img = imread("C:/Users/Пользователь/Desktop/1.png", CV_LOAD_IMAGE_COLOR);
namedWindow("Display window", WINDOW_AUTOSIZE);// Create a window for display.
imshow("Display window", img);
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