BodyPartPosition interface
Signature:
export interface BodyPartPosition
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
Confidence | readonly | number | How confident the AI is of this body part position on a scale form 0 to 100 |
Position | readonly | Vector2 | The 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.
Updated almost 2 years ago