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

# DetectHumanBodyPose3DRequest

A request that detects points on human bodies in 3D space, relative to the camera.

```
final class DetectHumanBodyPose3DRequest
```

## Overview

This request generates a collection of [`HumanBodyPose3DObservation`](/documentation/Vision/HumanBodyPose3DObservation) objects that describe the position of each body the request detects. If the system allows it, the request uses <doc://com.apple.documentation/documentation/AVFoundation/AVDepthData> information to improve the accuracy.

## Topics

### Creating a request

[`init(DetectHumanBodyPose3DRequest.Revision?, frameAnalysisSpacing: CMTime?)`](/documentation/Vision/DetectHumanBodyPose3DRequest/init(_:frameAnalysisSpacing:))

Creates a 3D human body pose request.

### Performing a request

[`func perform(on: URL, orientation: CGImagePropertyOrientation?) async throws -> Self.Result`](/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-80bya)

Performs the request on an image URL and produces observations.

[`func perform(on: Data, orientation: CGImagePropertyOrientation?) async throws -> Self.Result`](/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-3f3f1)

Performs the request on image data and produces observations.

[`func perform(on: CGImage, orientation: CGImagePropertyOrientation?) async throws -> Self.Result`](/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-qxxx)

Performs the request on a Core Graphics image and produces observations.

[`func perform(on: CVPixelBuffer, orientation: CGImagePropertyOrientation?) async throws -> Self.Result`](/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-xspx)

Performs the request on a pixel buffer and produces observations.

[`func perform(on: CMSampleBuffer, orientation: CGImagePropertyOrientation?) async throws -> Self.Result`](/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-3hddl)

Performs the request on a Core Media buffer and produces observations.

[`func perform(on: CIImage, orientation: CGImagePropertyOrientation?) async throws -> Self.Result`](/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-85ex1)

Performs the request on a Core Image image and produces observations.

### Understanding the result

[`struct HumanBodyPose3DObservation`](/documentation/Vision/HumanBodyPose3DObservation)

An observation that provides the 3D body points the request recognizes.

### Configuring a request

[`var supportedJointNames: [HumanBodyPose3DObservation.JointName]`](/documentation/Vision/DetectHumanBodyPose3DRequest/supportedJointNames)

The joint names the request supports.

[`var supportedJointsGroupNames: [HumanBodyPose3DObservation.JointsGroupName]`](/documentation/Vision/DetectHumanBodyPose3DRequest/supportedJointsGroupNames)

The joint group names the request supports.

### Getting the revision

[`let revision: DetectHumanBodyPose3DRequest.Revision`](/documentation/Vision/DetectHumanBodyPose3DRequest/revision-swift.property)

The algorithm or implementation the request uses.

[`static let supportedRevisions: [DetectHumanBodyPose3DRequest.Revision]`](/documentation/Vision/DetectHumanBodyPose3DRequest/supportedRevisions)

The collection of revisions the request supports.

[`enum Revision`](/documentation/Vision/DetectHumanBodyPose3DRequest/Revision-swift.enum)

A type that describes the algorithm or implementation that the request performs.

## Relationships

### Conforms To

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

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

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

[`StatefulRequest`](/documentation/Vision/StatefulRequest)

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

[`VisionRequest`](/documentation/Vision/VisionRequest)

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

[`ImageProcessingRequest`](/documentation/Vision/ImageProcessingRequest)

---

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)