Added project code

This commit is contained in:
2018-01-15 11:09:33 +01:00
parent 54a02127d2
commit c4d5b43651
36 changed files with 29172 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#include <stdio.h>
#include <opencv2/opencv.hpp>
using namespace cv;
int main(int argc, char** argv )
{
if ( argc != 2 )
{
printf("usage: DisplayImage.out <Image_Path>\n");
return -1;
}
Mat image;
image = imread( argv[1], 1 );
if ( !image.data )
{
printf("No image data \n");
return -1;
}
namedWindow("Display Image", WINDOW_AUTOSIZE );
imshow("Display Image", image);
waitKey(0);
return 0;
}