Hello everyone. I have a question regarding the OpenCV VideoCapture class. Any answer will be helpful.
Suppose that we have the following code
import cv2 import time cap = cv2.VideoCapture('/dev/video0', cv2.V4L2) cap.set(cv2.CAP_PROP_FPS, 30.0) while True: ret, frame = cap.read() time.sleep(0.1)
My question is that, what is actually happening inside the camera when the cap.read() loop is way slower than the actual FPS? Does the camera still keep capturing and storing images to its buffer?
Thank you in advance!