opencv 播放mp4

import numpy as np import cv2 cap = cv2.VideoCapture('C:\\aaa.mp4') while (cap.isOpened()): ret, frame = cap.read() cv2.imshow('frame', frame) if cv2.waitKey(40) & 0xFF == ord('q'):
相關文章
相關標籤/搜索