<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/Joint",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "s:6Vision5JointV"
  },
  "title" : "Joint"
}
-->

# Joint

A pose joint represented as a normalized point in an image, along with a label and a confidence value.

```
struct Joint
```

## Topics

### Inspecting a joint

[`let confidence: Float`](/documentation/Vision/Joint/confidence)

A confidence score that indicates the detected joint’s accuracy.

[`let jointName: String`](/documentation/Vision/Joint/jointName)

The joint’s identifier label.

[`let location: NormalizedPoint`](/documentation/Vision/Joint/location)

The location of the joint in normalized coordinates.

### Getting the distance to a joint

[`func distance(to: Joint) -> CGFloat`](/documentation/Vision/Joint/distance(to:))

Returns the distance to another joint.

## Relationships

### Conforms To

[`Encodable`](/documentation/Swift/Encodable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Decodable`](/documentation/Swift/Decodable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)