Advertisement
Guest User

Untitled

a guest
Aug 31st, 2015
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #include <opencv2/objdetect/objdetect.hpp>
  2. #include <opencv2/highgui/highgui.hpp>
  3. #include <opencv2/imgproc/imgproc.hpp>
  4.  
  5. #include <iostream>
  6.  
  7. using namespace cv;
  8. using namespace std;
  9.  
  10. int main( )
  11. {
  12. Mat img = imread("/home/ravi/Desktop/index.jpg", CV_LOAD_IMAGE_UNCHANGED);
  13. namedWindow("MyWindow", CV_WINDOW_AUTOSIZE);
  14. return 0;
  15. }
  16.  
  17. root@ravi-LINUX:/home/ravi/Desktop/CV# uname -a
  18. Linux ravi-LINUX 3.13.0-62-generic #102-Ubuntu SMP Tue Aug 11 14:28:35 UTC 2015 i686 i686 i686 GNU/Linux
  19.  
  20.  
  21. root@ravi-LINUX:/home/ravi/Desktop/CV# uname -r
  22. 3.13.0-62-generic
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement