コード例 #1
0
ファイル: video_features.py プロジェクト: omaralvarez/ActiPy
  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)