获得相机的fps
代码
//===============================================================
//FileName:
// findFrameRate_framespersecond (fps).cpp
//Date:
// 2019/11/23
//Author:
// khoing(https://blog.csdn.net/qq_45391763)
//===============================================================
#include <opencv2/opencv.hpp>
using namespace cv;
using namespace std;
int main( int argc, char** argv)
{
// 打开默认的相机
VideoCapture video(0);
//-----------------------------