code: def setUp(self):
      super().setUp()
      self.coco_dataset_path = os.path.join(
          self.get_temp_dir(), "coco_dataset"
      )
      if os.path.exists(self.coco_dataset_path):
          return
      os.mkdir(self.coco_dataset_path)
      categories = [
          {"id": 1, "name": "daisy"},
          {"id": 2, "name": "tulips"},
      ]
      images = [
          {"id": 1, "file_name": "img1.jpeg"},
          {"id": 2, "file_name": "img2.jpeg"},
      ]
      annotations = [
          {
              "image_id": 1,
              "category_id": 1,
              "bbox": self._get_rand_bbox(),
          },
          {
              "image_id": 2,
              "category_id": 1,
              "bbox": self._get_rand_bbox(),
          },
          {
              "image_id": 2,
              "category_id": 2,
              "bbox": self._get_rand_bbox(),
          },
      ]
      labels_dict = {
          "categories": categories,
          "images": images,
          "annotations": annotations,
      }
      labels_json = json.dumps(labels_dict)
      with open(
          os.path.join(self.coco_dataset_path, "labels.json"), "w"
      ) as f:
          f.write(labels_json)
      images_dir = os.path.join(self.coco_dataset_path, "images")
      os.mkdir(images_dir)
      for item in images:
          test_utils.write_filled_jpeg_file(
              os.path.join(images_dir, item["file_name"]),
              [random.uniform(0, 255) for _ in range(3)],
              IMAGE_SIZE,
          )
  
file_path: mediapipe/mediapipe/model_maker/python/vision/object_detector/dataset_test.py
imports: import json
  import os
  import random
  import tensorflow
  from mediapipe.model_maker.python.vision.core import image_utils
  from mediapipe.model_maker.python.vision.core import test_utils
  from mediapipe.model_maker.python.vision.object_detector import dataset
  from mediapipe.tasks.python.test import test_utils
label_desc: Use image node_id 2 for calling the DatasetTest obj's underlying member method code with example usage: obj.setUp() without return types