DecodePoseWithDisplacements

public class DecodePoseWithDisplacements<Skeleton> where Skeleton : SkeletonType
  • Decodes poses from model output. Returns poses with keypoint positions normalized from 0 to 1.

    Declaration

    Swift

    public func decodeMultiplePoses(
      maxPoseDetections: Int,
      partThreshold: Double = 0.5,
      nmsRadius: Int = 20
    ) -> [Pose<Skeleton>]

    Parameters

    maxPoseDetections

    Number of poses to detect.

    partThreshold

    Threshold for a part to be included in a pose.

    nmsRadius

    NMS radius.