Skip to content

Instantly share code, notes, and snippets.

@SeanSyue
Created May 23, 2018 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SeanSyue/9b1f736822d8c16f3a54030eb59be8d7 to your computer and use it in GitHub Desktop.
Save SeanSyue/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