code: def test_detect_fails_with_region_of_interest(self):
      # Creates hand landmarker.
      base_options = _BaseOptions(model_asset_path=self.model_path)
      options = _HandLandmarkerOptions(base_options=base_options)
      with self.assertRaisesRegex(
          ValueError, "This task doesn't support region-of-interest."
      ):
          with _HandLandmarker.create_from_options(
              options
          ) as landmarker:
              # Set the `region_of_interest` parameter using `ImageProcessingOptions`.
              image_processing_options = _ImageProcessingOptions(
                  region_of_interest=_Rect(0, 0, 1, 1)
              )
              # Attempt to perform hand landmarks detection on the cropped input.
              landmarker.detect(
                  self.test_image, image_processing_options
              )
  
imports: import enum
  from unittest import mock
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from google.protobuf import text_format
  from mediapipe.python._framework_bindings import image
  from mediapipe.tasks.cc.components.containers.proto import landmarks_detection_result_pb2
  from mediapipe.tasks.python.components.containers import landmark
  from mediapipe.tasks.python.components.containers import landmark_detection_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 hand_landmarker
  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 13 for calling the HandLandmarkerTest obj's underlying member method code with example usage: obj.test_detect_fails_with_region_of_interest() without return types