BodyPartPosition interface

Signature:

export interface BodyPartPosition 

Properties

PropertyModifiersTypeDescription
ConfidencereadonlynumberHow confident the AI is of this body part position on a scale form 0 to 100
PositionreadonlyVector2The coordinates of the body part.

BodyPartPosition.Confidence property

How confident the AI is of this body part position on a scale form 0 to 100

Signature:

readonly Confidence: number;

BodyPartPosition.Position property

The coordinates of the body part.

Signature:

readonly Position: Vector2;

Remarks

If the body tracker was created from a Component, the position is in viewport coordinate space in pixels with the origin at the top left of the screen.

If the body tracker was created from a O3hMediaSource, the x and y coordinates are a fraction of the source image width and height respectively, between 0 and 1, with the origin at the top left of the source image.