<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateMLComponents",
  "identifier" : "/documentation/CreateMLComponents/HumanBodyActionPeriodPredictor",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Create ML Components"
    ],
    "preciseIdentifier" : "s:18CreateMLComponents30HumanBodyActionPeriodPredictorV"
  },
  "title" : "HumanBodyActionPeriodPredictor"
}
-->

# HumanBodyActionPeriodPredictor

A human body action period predictor transformer that takes window of poses and produces a window of predictions.

```
struct HumanBodyActionPeriodPredictor
```

## Topics

### Creating a transformer

[`init()`](/documentation/CreateMLComponents/HumanBodyActionPeriodPredictor/init())

Creates a human body action period predictor transformer.

### Performing the transformation

[`func applied(to: [Pose], eventHandler: EventHandler?) async throws -> [HumanBodyActionPeriodPredictor.Prediction]`](/documentation/CreateMLComponents/HumanBodyActionPeriodPredictor/applied(to:eventHandler:))

Predicts human body action periods from an array of poses.

[`struct Prediction`](/documentation/CreateMLComponents/HumanBodyActionPeriodPredictor/Prediction)

A human body action period prediction.

## Relationships

### Conforms To

[`Transformer`](/documentation/CreateMLComponents/Transformer)

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

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

---

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)