View Code
1 IplImage* img = cvLoadImage( argv[1] );
2 cvNamedWindow("Example1", CV_WINDOW_AUTOSIZE );
3 cvShowImage("Example1", img );
4 cvWaitKey(0);
5 cvReleaseImage( &img );
6 cvDestroyWindow("Example1");

 

View Code
1 #pragma comment(lib, "opencv_highgui244d.lib")
2 #pragma comment(lib, "opencv_core244d.lib")
3 #pragma comment(lib, "opencv_ml244d.lib")
4 #pragma comment(lib, "opencv_calib3d244d.lib")

 

相关文章:

  • 2021-06-30
  • 2022-01-18
  • 2021-12-03
  • 2022-02-09
  • 2021-08-19
猜你喜欢
  • 2021-11-12
  • 2021-07-26
  • 2021-11-16
相关资源
相似解决方案