code: def test_resize_with_image():
      box = [1, 2, 3, 4]
      label = ["chitra"]
      bounding_box = BoundingBoxes(box, label)
      bbs = bounding_box.resize_with_image(
          (10, 10, 3), np.random.randn(100, 100, 3)
      )
      rescaled_bounding_box = bbs.bounding_boxes[0]
      assert np.isclose(rescaled_bounding_box.x1, 10)
      assert np.isclose(rescaled_bounding_box.y1, 20)
      assert np.isclose(rescaled_bounding_box.x2, 30)
      assert np.isclose(rescaled_bounding_box.y2, 40)
  
imports: import numpy
  from imgaug.augmentables import bbs
  from chitra.coordinates import BoundingBoxes
label_desc: Use image node_id 3 for calling a global function with example usage: test_resize_with_image() without return types