📅  最后修改于: 2022-03-11 14:47:06.876000             🧑  作者: Mango
import cv2
import numpy as np
vidcap = cv2.VideoCapture("fileName.mp4")
vidcap.set(1, FrameNumber)
viwvidcap.read()[1].astype(np.uint8)