【opencv】视频流的读取
import osimport tensorflow as tfimport numpy as npimport cv2class MyDataset: def __init__(self,path): self.path = path self.filename = [] # 得到路径下所有MP4的文件名 ...