code: def __init__(self, image_path, tgt_size, sampling=PIL.Image.BILINEAR):
      CapturedImage.__init__(self, image_path)
      self.tgt_size = tgt_size
      self.sampling = sampling
  
imports: import os
  import abc
  import numpy
  import imageio
  import PIL
  from PIL import Image
label_desc: Use image node_id 1 to create a new ResizedCapturedImage object from inherited base classes: CapturedImage with example: obj = ResizedCapturedImage(image_path, tgt_size, sampling)