code: def test_classify_async_succeeds_with_region_of_interest(self):
      # Load the test image.
      test_image = _Image.create_from_file(
          test_utils.get_test_data_path(
              os.path.join(_TEST_DATA_DIR, "multi_objects.jpg")
          )
      )
      # Region-of-interest around the soccer ball.
      roi = _Rect(left=0.45, top=0.3075, right=0.614, bottom=0.7345)
      image_processing_options = _ImageProcessingOptions(roi)
      observed_timestamp_ms = -1
  
      def check_result(
          result: ImageClassifierResult,
          output_image: _Image,
          timestamp_ms: int,
      ):
          test_utils.assert_proto_equals(
              self,
              result.to_pb2(),
              _generate_soccer_ball_results(100).to_pb2(),
          )
          self.assertEqual(output_image.width, test_image.width)
          self.assertEqual(output_image.height, test_image.height)
          self.assertLess(observed_timestamp_ms, timestamp_ms)
          self.observed_timestamp_ms = timestamp_ms
  
      options = _ImageClassifierOptions(
          base_options=_BaseOptions(model_asset_path=self.model_path),
          running_mode=_RUNNING_MODE.LIVE_STREAM,
          max_results=1,
          result_callback=check_result,
      )
      with _ImageClassifier.create_from_options(options) as classifier:
          classifier.classify_async(
              test_image, 100, image_processing_options
          )
  
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 category
  from mediapipe.tasks.python.components.containers import classification_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_classifier
  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 30 for calling the ImageClassifierTest obj's underlying member method code with example usage: obj.test_classify_async_succeeds_with_region_of_interest() without return types