Skip to content

Instantly share code, notes, and snippets.

@yuchen-xue
Created May 23, 2018 16:11
Show Gist options
  • Save yuchen-xue/9b1f736822d8c16f3a54030eb59be8d7 to your computer and use it in GitHub Desktop.
Save yuchen-xue/9b1f736822d8c16f3a54030eb59be8d7 to your computer and use it in GitHub Desktop.
#include <opencv2/opencv.hpp>
using namespace cv;
int main() {
Mat img = imread("image.jpg");
namedWindow("test", WINDOW_NORMAL);
imshow("test", img);
waitKey(0);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment