Esempio n. 1
0
def vid_length(path):
    vid = cv_compat.open_vid(path)
    return cv_compat.get_vid_length(vid)
Esempio n. 2
0
def vid_length(path):
  vid = cv_compat.open_vid(path)
  return cv_compat.get_vid_length(vid)
Esempio n. 3
0
def vid_dims(path):
    vid = cv_compat.open_vid(path)
    im = cv_compat.get_gray_frame(vid)
    h, w = im.shape[:2]
    return w, h
Esempio n. 4
0
def vid_dims(path):
  vid = cv_compat.open_vid(path)
  im = cv_compat.get_gray_frame(vid)
  h,w = im.shape[:2]
  return w, h