Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

if you want the to watch the video. you should read each frame first. then using imshow() video will be opened. like below..... while True: ret, img = cap.read() cv2.imshow('some',img) if 0xFF & cv2.waitKey(5) == 27: break