code: def annotate_keypoint_batch(
      image_path: str, keypoints: Any, visualize_skeleton: bool
  ):
      original_image = None
      with Image.open(image_path) as original_image:
          original_image = np.ascontiguousarray(original_image)
          annotator = Annotator(original_image)
          annotator.kpts(keypoints.numpy(), kpt_line=visualize_skeleton)
          return annotator.im
  
file_path: wandb/wandb/integration/ultralytics/pose_utils.py
imports: from typing import Any, Optional
  import numpy
  from PIL import Image
  from ultralytics.engine.results import Results
  from ultralytics.models.yolo.pose import PosePredictor
  from ultralytics.utils.plotting import Annotator
  import wandb
  from .bbox_utils import get_boxes, get_ground_truth_bbox_annotations
label_desc: Use image node_id 2 for calling a global function with example usage: annotate_keypoint_batch(image_path, keypoints, visualize_skeleton) and returns: annotator