01370984_Class Work_Week 08
Step 01Download OpenCV2.1 and a picture
Step 02
Build a project in c++, write these of codes:
Source code:
#include <opencv/highgui.h>
int main()
{
IplImage * img = cvLoadImage("C:\\Users\\USER\\Downloads\\POKEMON\\POKEMON.jpg");
cvNamedWindow("cv");
cvShowImage("cv", img);
cvWaitKey(0);
}
Step 03
Step 04
Close file and open it again.




沒有留言:
張貼留言