class_docstr: Test Image class.
code: def test_image(self):
      self.towhee_image(Image)
      self.towhee_image(LegacyImage)
      self.assertEqual(towhee.types.Image, towhee._types.Image)
  
file_path: towhee/tests/unittests/types/test_image.py
imports: import unittest
  import numpy
  import towhee
  from towhee.types import Image
  from towhee._types import Image
label_desc: Use image node_id 2 for calling the TestImage obj's underlying member method code with example usage: obj.test_image() without return types