赞
踩
#include <stdlib.h>
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
using namespace std;
void main()
{
cv::Mat frame;
// 可从摄像头输入视频流或直接播放视频文件
//cv::VideoCapture capture(0);
cv::VideoCapture capture("1.mp4");
double fps;
char string[10]; // 用于存放帧率的字符串
cv::namedWindow(

Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。