code: def resize_with_image(
      self, old_image_size: List[int], rescaled_image: np.ndarray
  ) -> bbs.BoundingBoxesOnImage:
      bbox_on_image = self.get_bounding_boxes_on_image(old_image_size)
      bbox_on_rescaled_image = bbox_on_image.on(rescaled_image)
      self.bboxes = bbox_on_rescaled_image.bounding_boxes
      return bbox_on_rescaled_image
  
file_path: chitra/chitra/coordinates.py
imports: from typing import TYPE_CHECKING, List, Optional, Tuple, Union
  import numpy
  from imgaug.augmentables import bbs
label_desc: Use image node_id 10 for calling the BoundingBoxes obj's underlying member method code with example usage: obj.resize_with_image(old_image_size, rescaled_image) and returns: bbox_on_rescaled_image