code: def load_skybox(self):
      print("initialize skybox...")
      if not self.is_video:
          # static backgroud
          skybox_img = cv2.imread(self.skybox_img, cv2.IMREAD_COLOR)
          skybox_img = cv2.cvtColor(skybox_img, cv2.COLOR_BGR2RGB)
  
          self.skybox_img = cv2.resize(
              skybox_img, (self.out_size_w, self.out_size_h)
          )
          cc = 1.0 / self.skybox_center_crop
          imgtile = cv2.resize(
              skybox_img,
              (int(cc * self.out_size_w), int(cc * self.out_size_h)),
          )
          self.skybox_imgx2 = self.tile_skybox_img(imgtile)
          self.skybox_imgx2 = np.expand_dims(self.skybox_imgx2, axis=0)
  
      else:
          # video backgroud
          cap = cv2.VideoCapture(self.skybox_video)
          m_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
          cc = 1.0 / self.skybox_center_crop
          self.skybox_imgx2 = np.zeros(
              [
                  m_frames,
                  int(cc * self.out_size_h),
                  int(cc * self.out_size_w),
                  3,
              ],
              np.uint8,
          )
          for i in range(m_frames):
              _, skybox_img = cap.read()
              skybox_img = cv2.cvtColor(skybox_img, cv2.COLOR_BGR2RGB)
              imgtile = cv2.resize(
                  skybox_img,
                  (
                      int(cc * self.out_size_w),
                      int(cc * self.out_size_h),
                  ),
              )
              skybox_imgx2 = self.tile_skybox_img(imgtile)
              self.skybox_imgx2[i, :] = skybox_imgx2
  
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 3 for calling the SkyBox obj's underlying member method code with example usage: obj.load_skybox() without return types