Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <opencv2/objdetect/objdetect.hpp>
- #include <opencv2/highgui/highgui.hpp>
- #include <opencv2/imgproc/imgproc.hpp>
- #include <iostream>
- using namespace cv;
- using namespace std;
- int main( )
- {
- Mat img = imread("/home/ravi/Desktop/index.jpg", CV_LOAD_IMAGE_UNCHANGED);
- namedWindow("MyWindow", CV_WINDOW_AUTOSIZE);
- return 0;
- }
- root@ravi-LINUX:/home/ravi/Desktop/CV# uname -a
- Linux ravi-LINUX 3.13.0-62-generic #102-Ubuntu SMP Tue Aug 11 14:28:35 UTC 2015 i686 i686 i686 GNU/Linux
- root@ravi-LINUX:/home/ravi/Desktop/CV# uname -r
- 3.13.0-62-generic
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement