code: def test_embed_async_calls(self):
      # Get the embedding result for the cropped image.
      options = _ImageEmbedderOptions(
          base_options=_BaseOptions(model_asset_path=self.model_path),
          running_mode=_RUNNING_MODE.IMAGE,
      )
      with _ImageEmbedder.create_from_options(options) as embedder:
          crop_result = embedder.embed(self.test_cropped_image)
  
      observed_timestamp_ms = -1
  
      def check_result(
          result: _ImageEmbedderResult,
          output_image: _Image,
          timestamp_ms: int,
      ):
          # Checks cosine similarity.
          self._check_cosine_similarity(
              result, crop_result, expected_similarity=0.925519
          )
          self.assertTrue(
              np.array_equal(
                  output_image.numpy_view(),
                  self.test_image.numpy_view(),
              )
          )
          self.assertLess(observed_timestamp_ms, timestamp_ms)
          self.observed_timestamp_ms = timestamp_ms
  
      options = _ImageEmbedderOptions(
          base_options=_BaseOptions(model_asset_path=self.model_path),
          running_mode=_RUNNING_MODE.LIVE_STREAM,
          result_callback=check_result,
      )
      with _ImageEmbedder.create_from_options(options) as embedder:
          for timestamp in range(0, 300, 30):
              embedder.embed_async(self.test_image, timestamp)
  
imports: import enum
  import os
  from unittest import mock
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from mediapipe.python._framework_bindings import image
  from mediapipe.tasks.python.components.containers import embedding_result
  from mediapipe.tasks.python.components.containers import rect
  from mediapipe.tasks.python.core import base_options
  from mediapipe.tasks.python.test import test_utils
  from mediapipe.tasks.python.vision import image_embedder
  from mediapipe.tasks.python.vision.core import image_processing_options
  from mediapipe.tasks.python.vision.core import vision_task_running_mode
label_desc: Use image node_id 23 for calling the ImageEmbedderTest obj's underlying member method code with example usage: obj.test_embed_async_calls() without return types