摘要:
#include "stdafx.h"#include <atltime.h>#include <highgui.h>int main(){ int c; CTime time; IplImage *img; CvCapture* capture = cvCaptureFromCAM(1); cvNamedWindow("mainWin", CV_WINDOW_AUTOSIZE); cvMoveWindow("mainWin", 50, 50); while(1) { img=cvQueryFrame(capt 阅读全文
posted @ 2012-06-04 20:42
Epirus
阅读(4856)
评论(0)
推荐(0)
摘要:
#include "stdafx.h"#include "cv.h"#include "highgui.h"CvRect box;bool drawing_box=false;void draw_box(IplImage* img,CvRect rect){ cvRectangle(img,cvPoint(box.x,box.y),cvPoint(box.x+box.width,box.y+box.height),cvScalar(0xff,0x00,0x00));}void my_mouse_callback(int event , 阅读全文
posted @ 2012-06-04 20:08
Epirus
阅读(1671)
评论(0)
推荐(0)

浙公网安备 33010602011771号