code: def _create_dummy_data(self):
      img = np.random.rand(50, 50, 3)
      poly = np.array(
          [
              [[0, 0, 50, 0, 50, 50, 0, 50]],
              [[20, 20, 50, 20, 50, 50, 20, 50]],
          ]
      )
      box = np.array([[0, 0, 50, 50], [20, 20, 50, 50]])
      # It shall always be 0 in MMOCR, but we assign different labels to
      # dummy instances for testing
      labels = np.array([0, 1], dtype=np.int64)
      ignored = np.array([False, True], dtype=bool)
      texts = ["text1", "text2"]
      return dict(
          img=img,
          img_shape=(50, 50),
          gt_polygons=poly,
          gt_bboxes=box,
          gt_bboxes_labels=labels,
          gt_ignored=ignored,
          gt_texts=texts,
      )
  
imports: import copy
  import unittest
  from typing import Dict, List, Optional
  import numpy
  from shapely.geometry import Polygon
  from mmocr.datasets.transforms import ConditionApply, ImgAugWrapper, TorchVisionWrapper
label_desc: Use image node_id 2 for calling the TestImgAug obj's underlying member method code with example usage: obj._create_dummy_data() and returns: dict