code: def test_coco_categories(self):
      from sahi.utils.coco import CocoCategory
  
      category_id = 0
      category_name = "human"
      supercategory = "human"
      coco_category1 = CocoCategory(
          id=category_id,
          name=category_name,
          supercategory=supercategory,
      )
      coco_category2 = CocoCategory(id=category_id, name=category_name)
      coco_category3 = CocoCategory.from_coco_category(
          {
              "id": category_id,
              "name": category_name,
              "supercategory": supercategory,
          }
      )
      coco_category4 = CocoCategory.from_coco_category(
          {
              "id": category_id,
              "name": category_name,
          }
      )
  
      self.assertEqual(coco_category1.id, category_id)
      self.assertEqual(coco_category1.id, coco_category2.id)
      self.assertEqual(coco_category1.id, coco_category3.id)
  
      self.assertEqual(coco_category1.name, category_name)
      self.assertEqual(coco_category1.name, coco_category2.name)
      self.assertEqual(coco_category1.name, coco_category3.name)
  
      self.assertEqual(coco_category1.supercategory, supercategory)
      self.assertEqual(
          coco_category1.supercategory, coco_category2.supercategory
      )
      self.assertEqual(
          coco_category1.supercategory, coco_category3.supercategory
      )
  
      self.assertEqual(coco_category1.json["id"], category_id)
      self.assertEqual(coco_category1.json["name"], category_name)
      self.assertEqual(
          coco_category1.json["supercategory"], supercategory
      )
  
      self.assertEqual(coco_category4.id, category_id)
      self.assertEqual(coco_category4.name, category_name)
      self.assertEqual(coco_category4.supercategory, category_name)
  
imports: import os
  import shutil
  import unittest
  from sahi.utils.coco import merge, update_categories
  from sahi.utils.file import load_json
label_desc: Use image node_id 1 for calling the TestCocoUtils obj's underlying member method code with example usage: obj.test_coco_categories() without return types