code: def test_float_image_frame_packet(self):
      float_img = np.float32(
          np.random.random_sample(
              (random.randrange(3, 100), random.randrange(3, 100), 2)
          )
      )
      image_frame_packet = packet_creator.create_image_frame(
          ImageFrame(image_format=ImageFormat.VEC32F2, data=float_img)
      )
      output_image_frame = packet_getter.get_image_frame(
          image_frame_packet
      )
      self.assertTrue(
          np.allclose(output_image_frame.numpy_view(), float_img)
      )
      image_packet = packet_creator.create_image(
          Image(image_format=ImageFormat.VEC32F2, data=float_img)
      )
      output_image = packet_getter.get_image(image_packet)
      self.assertTrue(
          np.array_equal(output_image.numpy_view(), float_img)
      )
  
imports: import gc
  import random
  import sys
  from absl.testing import absltest
  import numpy
  from google.protobuf import text_format
  from mediapipe.framework.formats import detection_pb2
  from mediapipe.python import packet_creator
  from mediapipe.python import packet_getter
  from mediapipe.python._framework_bindings import calculator_graph
  from mediapipe.python._framework_bindings import image
  from mediapipe.python._framework_bindings import image_frame
  from mediapipe.python._framework_bindings import packet
label_desc: Use image node_id 27 for calling the PacketTest obj's underlying member method code with example usage: obj.test_float_image_frame_packet() without return types