code: def _create_dummy_data(self):
      img_info = dict(
          file_name="test.jpg",
          height=100,
          width=200,
          segm_file="seg.txt",
      )
      anno_info = [
          dict(
              iscrowd=0,
              category_id=0,
              bbox=[0, 0, 10, 20],  # x, y, w, h
              text="t1",
              segmentation=[0, 0, 0, 10, 10, 20, 20, 0],
          ),
          dict(
              iscrowd=1,
              category_id=0,
              bbox=[10, 10, 20, 20],  # x, y, w, h
              text="t2",
              segmentation=[10, 10, 10, 30, 30, 30, 30, 10],
          ),
      ]
      img_info["anno_info"] = anno_info
      img_infos = [img_info]
  
      det_target = {
          "metainfo": {
              "dataset_type": "TextDetDataset",
              "task_name": "textdet",
              "category": [{"id": 0, "name": "text"}],
          },
          "data_list": [
              {
                  "img_path": "test.jpg",
                  "height": 100,
                  "width": 200,
                  "seg_map": "seg.txt",
                  "instances": [
                      {
                          "bbox": [0, 0, 10, 20],
                          "bbox_label": 0,
                          "polygon": [0, 0, 0, 10, 10, 20, 20, 0],
                          "ignore": False,
                      },
                      {
                          "bbox": [10, 10, 30, 30],  # x1, y1, x2, y2
                          "bbox_label": 0,
                          "polygon": [10, 10, 10, 30, 30, 30, 30, 10],
                          "ignore": True,
                      },
                  ],
              }
          ],
      }
  
      spotter_target = {
          "metainfo": {
              "dataset_type": "TextSpotterDataset",
              "task_name": "textspotter",
              "category": [{"id": 0, "name": "text"}],
          },
          "data_list": [
              {
                  "img_path": "test.jpg",
                  "height": 100,
                  "width": 200,
                  "seg_map": "seg.txt",
                  "instances": [
                      {
                          "bbox": [0, 0, 10, 20],
                          "bbox_label": 0,
                          "polygon": [0, 0, 0, 10, 10, 20, 20, 0],
                          "text": "t1",
                          "ignore": False,
                      },
                      {
                          "bbox": [10, 10, 30, 30],  # x1, y1, x2, y2
                          "bbox_label": 0,
                          "polygon": [10, 10, 10, 30, 30, 30, 30, 10],
                          "text": "t2",
                          "ignore": True,
                      },
                  ],
              }
          ],
      }
  
      recog_target = {
          "metainfo": {
              "dataset_type": "TextRecogDataset",
              "task_name": "textrecog",
          },
          "data_list": [
              {
                  "img_path": "test.jpg",
                  "instances": [
                      {
                          "text": "t1",
                      },
                      {
                          "text": "t2",
                      },
                  ],
              }
          ],
      }
  
      return img_infos, det_target, spotter_target, recog_target
  
file_path: mmocr/tests/test_utils/test_data_converter_utils.py
imports: import os.path
  import tempfile
  from unittest import TestCase
  import mmengine
  from mmocr.utils.data_converter_utils import dump_ocr_data, recog_anno_to_imginfo
label_desc: Use image node_id 1 for calling the TestDataConverterUtils obj's underlying member method code with example usage: obj._create_dummy_data() and returns: img_infos,  det_target,  spotter_target,  recog_target