Represents the pose landmarks deection results generated by PoseLandmarker. Each vector element represents a single pose detected in the image.
Signature:
export declare class PoseLandmarkerResult
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| landmarks | NormalizedLandmark[][] | Pose landmarks of detected poses. | |
| worldLandmarks | Landmark[][] | Pose landmarks in world coordinates of detected poses. | |
| segmentationMasks | MPMask[] | undefined | Segmentation mask for the detected pose. |
Methods
| Method | Modifiers | Description |
|---|---|---|
| close() | Frees the resources held by the segmentation masks. |
PoseLandmarkerResult.landmarks
Pose landmarks of detected poses.
Signature:
readonly landmarks: NormalizedLandmark[][];
PoseLandmarkerResult.worldLandmarks
Pose landmarks in world coordinates of detected poses.
Signature:
readonly worldLandmarks: Landmark[][];
PoseLandmarkerResult.segmentationMasks
Segmentation mask for the detected pose.
Signature:
readonly segmentationMasks?: MPMask[] | undefined;
PoseLandmarkerResult.close()
Frees the resources held by the segmentation masks.
Signature:
close(): void;
Returns:
void