code: def setup_img(self, record):
      # NOTE - assumed that `record.img` is a PIL.Image
      self.adapter._albu_in["image"] = np.array(record.img)
  
      self.adapter._collect_ops.append(CollectOp(self.collect))
  
imports: import albumentations
  from itertools import chain
  from icevision.imports import *
  from icevision.utils import *
  from icevision.core import *
  from icevision.tfms.transform import *
  from icevision.tfms.albumentations.albumentations_helpers import get_size_without_padding, get_transform
label_desc: Use image node_id 1 for calling the AlbumentationsImgComponent obj's underlying member method code with example usage: obj.setup_img(record) without return types