class_docstr: Video writer.
  
  Args:
      path (str): The path to save a video.
      fps (int): The fps of the saved video.
      frame_size (tuple): The frame size (width, height) of the saved video.
      is_color (bool): Whethe to save the video in color format.
class_docstr_tok: ["Video","writer",".","Args",":","path","(","str",")",":","The","path","to","save","a","video",".","fps","(","int",")",":","The","fps","of","the","saved","video",".","frame_size","(","tuple",")",":","The","frame","size","(","width",",","height",")","of","the","saved","video",".","is_color","(","bool",")",":","Whethe","to","save","the","video","in","color","format","."]
code: def release(self):
      self.cap_out.release()
  
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 3 for calling the VideoWriter obj's underlying member method code with example usage: obj.release() without return types