One Logo Pool Ball
CreateMLComponents · IOS API REFERENCE

HumanBodyActionPeriodPredictor.Prediction

struct · iOS 16.0+ · SDK 27.1

struct Prediction

A human body action period prediction.

Members (5)

get · iOS 16.0+

periodicity

TypeScript
get periodicity(): number
Swift declaration
var periodicity: Float

A score that indicates whether this frame contributes to a periodic human body action.

set · iOS 16.0+

periodicity

TypeScript
set periodicity(value: number)
Swift declaration
var periodicity: Float

A score that indicates whether this frame contributes to a periodic human body action.

init · iOS 16.0+

init

TypeScript
static init(period: number, periodicity: number): HumanBodyActionPeriodPredictor_Prediction
Swift declaration
init(period: Float, periodicity: Float)

Creates a human body action period prediction. - parameters: - period: A period length of a repetitive action. - periodicity: A value that indicates whether a frame belongs to a periodic action.

get · iOS 16.0+

period

TypeScript
get period(): number
Swift declaration
var period: Float

The duration of a human body action measured in frames.

set · iOS 16.0+

period

TypeScript
set period(value: number)
Swift declaration
var period: Float

The duration of a human body action measured in frames.

Skipped declarations

No declarations were skipped in this snapshot.

All CreateMLComponents types →