学习 opencv 写的第一个程序,特此纪念!
#include <cv.h>#include <highgui.h>int main(){IplImage* pImg;if ((pImg = cvLoadImage("test.bmp", 1)) != 0){cvNamedWindow ("Image", 1);cvMoveWindow ("Image", 0, 0);cvShowImage ("Image", pImg);cvWaitKey (0);cvDestroyWindow ("Image");cvReleaseImage (&pImg);}return 0;}
,人生难免有挫折,但你是逃避不了的,一定要去面对它