1 | initial version |
Fatchur, please do not use opencv's legacy c-api, if it has IplImages in it, - run away !
2 | No.2 Revision |
Fatchur, please do not use opencv's legacy c-api, if it has IplImages in it, - run away !
3 | No.3 Revision |
Fatchur, please do not use opencv's legacy c-api, if it has IplImages in it, - run away !
#include <opencv2/opencv.hpp> // c++ headers(opencv2)
using namespace cv;
int C;
int main(){
Mat img = imread(C:/Users/user/Pictures/fatchur.jpg); // single backslashes in path, please.
namedWindow( "example1", CV_WINDOW_NORMAL );
imshow( "example1", img );
waitKey(0);
return 0; // no manual release nessecary.
}
4 | No.4 Revision |
Fatchur, please do not use opencv's legacy c-api, if it has IplImages in it, - run away !
#include <opencv2/opencv.hpp> // c++ headers(opencv2)
using namespace cv;
int C;
int main(){
Mat img = imread(C:/Users/user/Pictures/fatchur.jpg); // single backslashes in path, please.
Mat img = imread(C:/Users/user/Pictures/fatchur.jpg);
namedWindow( "example1", CV_WINDOW_NORMAL );
imshow( "example1", img );
waitKey(0);
return 0; // no manual release nessecary.
}
5 | No.5 Revision |
Fatchur, please do not use opencv's legacy c-api, if it has IplImages in it, - run away !
#include <opencv2/opencv.hpp> // c++ headers(opencv2)
using namespace cv;
int C;
int main(){
// single backslashes in path, please.
Mat img = imread(C:/Users/user/Pictures/fatchur.jpg);
imread("C:/Users/user/Pictures/fatchur.jpg"); // path wrapped with "" !!!
namedWindow( "example1", CV_WINDOW_NORMAL );
imshow( "example1", img );
waitKey(0);
return 0; // no manual release nessecary.
}
6 | No.6 Revision |
Fatchur, please do not use opencv's legacy c-api, if it has IplImages in it, - run away !
#include <opencv2/opencv.hpp> // c++ headers(opencv2)
using namespace cv;
int C;
int main(){
// single backslashes in path, please.
Mat img = imread("C:/Users/user/Pictures/fatchur.jpg"); // path wrapped with "" !!!
namedWindow( "example1", CV_WINDOW_NORMAL );
imshow( "example1", img );
waitKey(0);
return 0; // no manual release nessecary.
}
7 | No.7 Revision |
Fatchur, please do not use opencv's legacy c-api, if it has IplImages in it, - run away !
#include <opencv2/opencv.hpp> // c++ headers(opencv2)
using namespace cv;
int main(){
// single backslashes in path, please.
Mat img = imread("C:/Users/user/Pictures/fatchur.jpg"); // path wrapped with "" !!!
!
namedWindow( "example1", CV_WINDOW_NORMAL );
imshow( "example1", img );
waitKey(0);
return 0; // no manual release nessecary.
}