Skip to main content

Interface: Pose

@geenee/bodyprocessors.Pose

Pose detection

Properties

debug

Optional debug: Object

Type declaration

NameType
anglenumber
boxBox
centerCoord2D
radiusnumber
topCoord2D

mask

Optional mask: Object

Body segmentation mask

Segmentation mask is a monochrome image, where every pixel has value from 0 to 1 denoting the probability of it being a foreground pixel. Body mask is provided for normalized rect region of original image. Mask has a fixed size in pixels and should be scaled to image space.

Type declaration

NameType
boxBox
bufferUint8Array
sizeSize

points

points: PosePoints

List of pose keypoints

2D pixel coordinate - point in the screen coordinate space. XY coordinates are normalized screen coordinates (scaled by image width and height), while the Z coordinate is depth in orthographic projection space, it has the same scale as X. 3D metric coordinate - point within 3D space of perspective camera located at the space origin and pointed in the negative direction of the Z-axis. 3D & 2D points are perfectly aligned.


score

score: number

Reliability score, number between 0 and 1