---
title: HumanBodyActionCounter
framework: createmlcomponents
role: symbol
role_heading: Structure
path: createmlcomponents/humanbodyactioncounter
---

# HumanBodyActionCounter

A human body action repetition counting transformer that takes window of human body poses and produces cumulative human body action repetition counts.

## Declaration

```swift
struct HumanBodyActionCounter
```

## Topics

### Creating a transformer

- [init()](createmlcomponents/humanbodyactioncounter/init().md)

### Performing the transformation

- [applied(to:eventHandler:)](createmlcomponents/humanbodyactioncounter/applied(to:eventhandler:).md)
- [HumanBodyActionCounter.CumulativeSumSequence](createmlcomponents/humanbodyactioncounter/cumulativesumsequence.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [TemporalTransformer](createmlcomponents/temporaltransformer.md)

## See Also

### Pose components

- [Counting human body action repetitions in a live video feed](createmlcomponents/counting-human-body-action-repetitions-in-a-live-video-feed.md)
- [Pose](createmlcomponents/pose.md)
- [JointKey](createmlcomponents/jointkey.md)
- [JointPoint](createmlcomponents/jointpoint.md)
- [PoseSelector](createmlcomponents/poseselector.md)
- [PoseSelectionStrategy](createmlcomponents/poseselectionstrategy.md)
- [JointsSelector](createmlcomponents/jointsselector.md)
- [HumanBodyPoseExtractor](createmlcomponents/humanbodyposeextractor.md)
- [HumanHandPoseExtractor](createmlcomponents/humanhandposeextractor.md)
- [HumanBodyActionPeriodPredictor](createmlcomponents/humanbodyactionperiodpredictor.md)
