Contents

init(strategy:confidenceThreshold:)

Creates a pose selector.

Declaration

init(strategy: PoseSelectionStrategy, confidenceThreshold: Float)

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.

  • confidenceThreshold:

    A threshold confidence between 0 to 1 for the joints to be considered valid in pose selection. The default value is 0.2.

See Also

Creating a selector