Ejemplo n.º 1
0
def vid_length(path):
    vid = cv_compat.open_vid(path)
    return cv_compat.get_vid_length(vid)
Ejemplo n.º 2
0
def vid_length(path):
  vid = cv_compat.open_vid(path)
  return cv_compat.get_vid_length(vid)
Ejemplo 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
Ejemplo 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