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

# applied(to:eventHandler:)

Predicts cumulative human body action counts from a sequence of human body pose windows.

## Declaration

```swift
func applied<S>(to input: S, eventHandler: EventHandler? = nil) async throws -> HumanBodyActionCounter.OutputSequence where S : TemporalSequence, S.Feature == [Pose]
```

## Parameters

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

## Return Value

Return Value An async sequence of cumulative human body action counts.

## See Also

### Performing the transformation

- [HumanBodyActionCounter.CumulativeSumSequence](createmlcomponents/humanbodyactioncounter/cumulativesumsequence.md)
