One Logo Pool Ball
CreateMLComponents · IOS API REFERENCE

JointPoint

struct · iOS 16.0+ · SDK 27.1

struct JointPoint

A joint in a pose that contains a location and scoring information.

Members (6)

get · iOS 16.0+

confidence

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

A detection confidence of the joint

set · iOS 16.0+

confidence

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

A detection confidence of the joint

get · iOS 16.0+

key

TypeScript
get key(): JointKey
Swift declaration
let key: JointKey

The key name for the joint

get · iOS 16.0+

location

TypeScript
get location(): { x: number; y: number }
Swift declaration
var location: CGPoint

The location of the joint point

set · iOS 16.0+

location

TypeScript
set location(value: { x: number; y: number })
Swift declaration
var location: CGPoint

The location of the joint point

init · iOS 16.0+

init

TypeScript
static init(key: JointKey, location: { x: number; y: number }, confidence: number): JointPoint
Swift declaration
init(_ key: JointKey, location: CGPoint, confidence: Float)

Creates a joint point with its key, location and confidence. - Parameters: - key: joint point identifier name. - location: a point indicating the location of the joint. - confidence: the detection confidence for the joint.

Skipped declarations

No declarations were skipped in this snapshot.

All CreateMLComponents types →