Search code examples
c++cvideoopencvwebcam

How to get web camera fps rate in OpenCV?


So I need to get web camera fps rate in OpenCV. Which function can do such thing for?


Solution

  • int cvGetCaptureProperty( CvCapture* capture, int property_id);
    

    with property_id = CV_CAP_PROP_FPS