c++ - OpenCV: VideoCapture::get(CV_CAP_PROP_FPS) returns 0 FPS - Stack Overflow
CV_CAP_PROP_FPS only works on videos as far as I know. If you want to capture video data from a webcam you have to time it correctly yourself. For example use a timer to capture a frame from the webcam every 40ms and then save as 25fps video.
stackoverflow.com |