code: def setUp(self):
      self.data_info1 = dict(
          img=np.random.random((300, 400, 3)),
          gt_bboxes=np.array([[0, 0, 60, 100]]),
          gt_polygons=[np.array([0, 0, 200, 0, 200, 100, 0, 100])],
      )
  
imports: import copy
  import unittest
  import unittest.mock
  import numpy
  from mmcv.transforms import Pad, RandomResize
  from mmocr.datasets.transforms import BoundedScaleAspectJitter, RandomCrop, RandomFlip, Resize, ShortScaleAspectJitter, SourceImagePad, TextDetRandomCrop, TextDetRandomCropFlip
  from mmocr.utils import bbox2poly, poly2shapely
label_desc: Use image node_id 1 for calling the TestRandomResize obj's underlying member method code with example usage: obj.setUp() without return types