code: def __init__(
      self,
      image_path,
      depth_path,
      mask_path,
      pinhole_cam,
      cam_pose,
      tgt_size,
      view_id,
      cam_id,
      mono_depth_path=None,
      keypoints_path=None,
      densepose_path=None,
  ):
      captures_module.ResizedRigRGBDPinholeCapture.__init__(
          self,
          image_path,
          depth_path,
          pinhole_cam,
          cam_pose,
          tgt_size,
          view_id,
          cam_id,
      )
      """
          Note: we pass in the original intrinsic and distortion matrix, NOT the resized intrinsic
          """
      self.captured_mask = contents.ResizedCapturedImage(
          mask_path, tgt_size, sampling=PIL.Image.NEAREST
      )
      if mono_depth_path is not None:
          self.captured_mono_depth = contents.ResizedCapturedDepth(
              mono_depth_path, tgt_size=tgt_size
          )
          self.captured_mono_depth.dataset = "mono"
      else:
          self.captured_mono_depth = None
      if keypoints_path is not None:
          # raise NotImplementedError
          self.keypoints = None
      else:
          self.keypoints = None
      if densepose_path is not None:
          # raise NotImplementedError
          self.densepose = None
      else:
          self.densepose = None
  
imports: import os
  import joblib
  import numpy
  import torch
  from tqdm import tqdm
  import PIL
  import scipy
  from data_io import colmap_helper
  from geometry import pcd_projector
  from cameras import captures, contents
  from scenes import scene
  from utils import utils, ray_utils
  from models.smpl import SMPL
label_desc: Use image node_id 1 to create a new ResizedNeuManCapture object from inherited base classes: captures_module with example: obj = ResizedNeuManCapture(image_path, depth_path, mask_path, pinhole_cam, cam_pose, tgt_size, view_id, cam_id, mono_depth_path, keypoints_path, densepose_path)