Example #1
0
  def __init__(self, path, persist=False):
    self.path = path
    self.persist = persist

    # video length minus one because the first 
    # frame doesn't have an optical flow
    self.progress = ProgressBar(plan.vid_length(path) - 1)