Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sending rendered video stream to openCV

Is there a way to use the output of a video game in real time as a stream to openCV?

Although I can open saved .avi files in openCV, I would rather just pipe the video stream of the frame buffer directly to openCV. Right now I have a webcam pointed at the screen and am capturing the webcam with

cap = cv2.VideoCapture(0)