code: def test_detect_succeeds_with_rotation(self):
      # Creates hand landmarker.
      base_options = _BaseOptions(model_asset_path=self.model_path)
      options = _HandLandmarkerOptions(base_options=base_options)
      with _HandLandmarker.create_from_options(options) as landmarker:
          # Load the pointing up rotated image.
          test_image = _Image.create_from_file(
              test_utils.get_test_data_path(_POINTING_UP_ROTATED_IMAGE)
          )
          # Set rotation parameters using ImageProcessingOptions.
          image_processing_options = _ImageProcessingOptions(
              rotation_degrees=-90
          )
          # Performs hand landmarks detection on the input.
          detection_result = landmarker.detect(
              test_image, image_processing_options
          )
          expected_detection_result = (
              _get_expected_hand_landmarker_result(
                  _POINTING_UP_ROTATED_LANDMARKS
              )
          )
          # Comparing results.
          self._expect_hand_landmarker_results_correct(
              detection_result, expected_detection_result
          )
  
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 12 for calling the HandLandmarkerTest obj's underlying member method code with example usage: obj.test_detect_succeeds_with_rotation() without return types