One Logo Pool Ball
CreateMLComponents · IOS API REFERENCE

HumanBodyActionPeriodPredictor

struct · iOS 16.0+ · SDK 27.1

struct HumanBodyActionPeriodPredictor

A human body action period predictor transformer that takes window of poses and produces a window of predictions.

Members (2)

method · iOS 16.0+

applied

TypeScript
applied(input: Array<Pose>, eventHandler?: (((arg0: Event) => void)) | null): Promise<Array<HumanBodyActionPeriodPredictor_Prediction>>
Swift declaration
func applied(to input: [Pose], eventHandler: EventHandler? = nil) async throws -> [HumanBodyActionPeriodPredictor.Prediction]

Predicts human body action periods from an array of poses. - Parameters: - input: An async sequence of pose windows. - eventHandler: An event handler. - Returns: An async sequence of predictions.

init · iOS 16.0+

init

TypeScript
static init(): HumanBodyActionPeriodPredictor
Swift declaration
init()

Creates a human body action period predictor transformer.

Skipped declarations

No declarations were skipped in this snapshot.

All CreateMLComponents types →