init(_:location:confidence:)
Creates a joint point with its key, location and confidence.
Declaration
init(_ key: JointKey, location: CGPoint, confidence: Float)Parameters
- key:
Joint point identifier name.
- location:
A point indicating the location of the joint.
- confidence:
The detection confidence for the joint.