code: def keypoints(self, o) -> List[KeyPoints]:
      meta = KeypointsMetadata()
      meta.labels = self.keypoint_labels
      return (
          [KeyPoints.from_xyv(o["keypoints"], meta)]
          if sum(o["keypoints"]) > 0
          else []
      )
  
file_path: lightning-flash/src/flash/image/keypoint_detection/data.py
imports: from pathlib import Path
  from typing import Any, Callable, Dict, List, Optional, Type, Union
  from flash.core.data.data_module import DataModule
  from flash.core.data.io.input import Input
  from flash.core.integrations.icevision.data import IceVisionInput
  from flash.core.utilities.imports import _ICEVISION_AVAILABLE, _TOPIC_IMAGE_AVAILABLE
  from flash.core.utilities.stages import RunningStage
  from flash.core.utilities.types import INPUT_TRANSFORM_TYPE
  from flash.image.keypoint_detection.input_transform import KeypointDetectionInputTransform
label_desc: Use image node_id 2 for calling the FlashCOCOKeyPointsParser obj's underlying member method code with example usage: obj.keypoints(o) and returns: unknown