Ask Your Question

Revision history [back]

Ok so it took me a while but the problem was solved by switching the API. I changed the line of code:

video_capture = cv2.VideoCapture(1) to

video_capture = cv2.VideoCapture(1, cv2.CAP_DSHOW)

by adding this, it now works instantly, removing the delay which was present before.