Created
May 23, 2018 16:11
-
-
Save yuchen-xue/9b1f736822d8c16f3a54030eb59be8d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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