code: def _get_rain_layer(self):
      ret, frame = self.cap.read()
      if ret:
          rain_layer = frame
      else:  # if reach the last frame, read from the begining
          self.cap.set(cv2.CAP_PROP_POS_FRAMES, 0)
          ret, frame = self.cap.read()
          rain_layer = frame
  
      rain_layer = cv2.cvtColor(rain_layer, cv2.COLOR_BGR2RGB) / 255.0
      rain_layer = np.array(rain_layer, dtype=np.float32)
  
      return rain_layer
  
imports: import cv2
  import numpy
label_desc: Use image node_id 2 for calling the Rain obj's underlying member method code with example usage: obj._get_rain_layer() and returns: rain_layer