Updated by Alexander Shishkov about 13 years ago

I am using OpenCV [[OpenCV]] 2.3 library under QT 4.7.3 on Win 7 and I try to get the frame rate of the video-stream from web-cam. But VideoCapture::get [[VideoCapture]]::get is always return 0 value.
VideoCapture [[VideoCapture]] capture(0);
framerate = capture.get(CV_CAP_PROP_FPS);
cout<< "frame rate = "<< framerate <<"\n";

Back