class_docstr: Read a video
class_docstr_tok: ["Read","a","video"]
code: def __len__(self):
      return self.frames
  
file_path: PaddleSeg/Matting/ppmatting/utils/video.py
imports: import os
  import warnings
  import cv2
  import paddle
  import numpy
  import ppmatting
  import ppmatting.transforms
label_desc: Use image node_id 2 for calling the VideoReader obj's underlying member method code with example usage: obj.__len__() and returns: self