当前位置:网站首页>Opencv configuration 2019vs

Opencv configuration 2019vs

2022-07-07 16:30:00 qq_ fifty-seven million two hundred and fifty-one thousand thre

Because I'm studying recently games101, So there is configuration opengl The library problem , Find an article about the great God , Here is a record of :

 

 

 

 

 

 【 Here we must pay attention to adding d!!!!!!!!!!!!!!!!】

 

#include<opencv2/opencv.hpp>

#include<iostream>

using namespace cv;

int main(int argc, char** argv) {

    Mat image = imread("D:\\timg (1).jpg");

    if (image.empty()) {

        printf("could not load image...\n");

        return -1;

    }

    namedWindow("test_opencv_setup", 0);

    imshow("test_opencv_srtup", image);

    waitKey(0);

    return 0;

}

original text :opencv( Ten ):vs2019+opencv4.1+ C++ To configure _ Oh, roar 231 The blog of -CSDN Blog

原网站

版权声明
本文为[qq_ fifty-seven million two hundred and fifty-one thousand thre]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130608249493.html