capture=cv.VideoCapture("C:/videoplayback (1).mp4") while True: isTrue,frame=capture.read() cv.imshow("videoplayback (1)",frame) if cv.waitKey(20) & 0xFF==ord("d"): break capture.release() cv.destroyWindow()
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter