标签:video win ase test style key col import release
# -*- coding: utf-8 -*- import cv2 import numpy as np cap = cv2.VideoCapture("test.avi") while True: # get a frame ret, frame = cap.read() # show a frame cv2.imshow("capture", frame) if cv2.waitKey(100) & 0xFF == ord(‘q‘): break cap.release() cv2.destroyAllWindows()
标签:video win ase test style key col import release
原文地址:https://www.cnblogs.com/wbyixx/p/9393772.html