---
title: "applied(to:eventHandler:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/humanbodyactionperiodpredictor/applied(to:eventhandler:)"
---

# applied(to:eventHandler:)

Predicts human body action periods from an array of poses.

## Declaration

```swift
func applied(to input: [Pose], eventHandler: EventHandler? = nil) async throws -> [HumanBodyActionPeriodPredictor.Prediction]
```

## Parameters

- `input`: An async sequence of pose windows.
- `eventHandler`: An event handler.

## Return Value

Return Value An async sequence of predictions.

## See Also

### Performing the transformation

- [HumanBodyActionPeriodPredictor.Prediction](createmlcomponents/humanbodyactionperiodpredictor/prediction.md)
