def __init__(self, name, queueSize=128, pre_filter=None): FileVideoStream.__init__(self, name, queueSize=queueSize) self._cap = cv2.VideoCapture(name) time.sleep(1.0)
def __init__(self, name, queueSize=128): FileVideoStream.__init__(self, name, queueSize=queueSize)