---
title: "init(strategy:)"
framework: createmlcomponents
role: symbol
role_heading: Initializer
path: "createmlcomponents/poseselector/init(strategy:)"
---

# init(strategy:)

Creates a pose selector.

## Declaration

```swift
init(strategy: PoseSelectionStrategy)
```

## Parameters

- `strategy`: The strategy used to choose a pose if multiple poses are detected on the same frame. Default strategy is to select a pose with maximum bounding box area.

## See Also

### Creating a selector

- [init()](createmlcomponents/poseselector/init().md)
- [init(strategy:confidenceThreshold:)](createmlcomponents/poseselector/init(strategy:confidencethreshold:).md)
