code: def prepare(self, ctx_id=0, det_thresh=0.5, det_size=(128, 128)):
      self.pre_ctx_id = ctx_id
      self.pre_det_thresh = det_thresh
      self.pre_det_size = det_size
  
imports: import os, sys, datetime
  import numpy
  import os.path
  import albumentations
  from albumentations.core.transforms_interface import ImageOnlyTransform
  from .face_analysis import FaceAnalysis
  from ..utils import get_model_dir
  from ..thirdparty import face3d
  from ..data import get_image
  from ..utils import DEFAULT_MP_NAME
  import cv2
label_desc: Use image node_id 2 for calling the MaskRenderer obj's underlying member method code with example usage: obj.prepare(ctx_id, det_thresh, det_size) without return types