經安全檢測,此網站為安全網站,請放心前往原始網址!

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

網址安全性掃描由 google 提供