code: def __init__(
      self,
      out_size,
      skybox_img,
      skybox_video,
      halo_effect,
      auto_light_matching,
      relighting_factor,
      recoloring_factor,
      skybox_center_crop,
      rain_cap_path,
      is_video,
      is_rainy,
  ):
      self.out_size_w, self.out_size_h = out_size
  
      self.skybox_img = skybox_img
      self.skybox_video = skybox_video
  
      self.is_rainy = is_rainy
      self.is_video = is_video
  
      self.halo_effect = halo_effect
      self.auto_light_matching = auto_light_matching
  
      self.relighting_factor = relighting_factor
      self.recoloring_factor = recoloring_factor
  
      self.skybox_center_crop = skybox_center_crop
      self.load_skybox()
      self.rainmodel = Rain(
          rain_cap_path=rain_cap_path,
          rain_intensity=0.8,
          haze_intensity=0.0,
          gamma=1.0,
          light_correction=1.0,
      )
  
      # motion parameters
      self.M = np.array([[1, 0, 0], [0, 1, 0]], dtype=np.float32)
  
      self.frame_id = 0
  
file_path: PaddleHub/modules/video/Video_editing/SkyAR/skybox.py
imports: import cv2
  import numpy
  from .rain import Rain
  from .utils import build_transformation_matrix, update_transformation_matrix, estimate_partial_transform, removeOutliers, guidedfilter
label_desc: Use image node_id 1 to create a new SkyBox object  with example: obj = SkyBox(out_size, skybox_img, skybox_video, halo_effect, auto_light_matching, relighting_factor, recoloring_factor, skybox_center_crop, rain_cap_path, is_video, is_rainy)