摘要: //本代码为在视频帧中标记帧数,在第一帧鼠标取框的功能性测试程序#include <opencv2/core/core.hpp>#include <opencv2/highgui/highgui.hpp>#include <iostream>#include <stdio.h>#include <string.h>using namespace cv;using namespace std;Rect box; bool drawing_box = false;bool gotBB = false; void mouseHandler( 阅读全文
posted @ 2012-10-08 21:57 行远_ 阅读(1895) 评论(0) 推荐(0)
摘要: #include <opencv2/core/core.hpp>#include <opencv2/highgui/highgui.hpp>#include <iostream>#include <stdio.h>#include <string.h>using namespace cv;using namespace std;int main(){void draw_framecount(Mat Frame,int framecount);namedWindow("text");for (int count=1; 阅读全文
posted @ 2012-10-08 21:04 行远_ 阅读(6680) 评论(0) 推荐(0)