code: def _get_expected_holistic_landmarker_result(
      file_path: str,
  ) -> HolisticLandmarkerResult:
      holistic_result_file_path = test_utils.get_test_data_path(
          file_path
      )
      with open(holistic_result_file_path, "rb") as f:
          holistic_result_proto = _HolisticResultProto()
          # Use this if a .pb file is available.
          # holistic_result_proto.ParseFromString(f.read())
          text_format.Parse(f.read(), holistic_result_proto)
          holistic_landmarker_result = (
              HolisticLandmarkerResult.create_from_pb2(
                  holistic_result_proto
              )
          )
      return holistic_landmarker_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.vision.holistic_landmarker.proto import holistic_result_pb2
  from mediapipe.tasks.python.core import base_options
  from mediapipe.tasks.python.test import test_utils
  from mediapipe.tasks.python.vision import holistic_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 1 for calling a global function with example usage: _get_expected_holistic_landmarker_result(file_path) and returns: holistic_landmarker_result