3.0.0 • Published 11 months ago
@nativescript/mlkit-pose-detection v3.0.0
@nativescript/mlkit-pose-detection
A plugin that is used with @nativescript/mlkit-core to enable Pose Detection and provide the PoseResult type for the Pose Detection event data.
Contents
Installation
Install @nativescript/mlkit-pose-detection by running the following command:
npm install @nativescript/mlkit-pose-detectionUse @nativescript/mlkit-pose-detection
For an example, read Use @nativescript/mlkit-core and Pose Detection.
API
PoseResult
The Pose Detection event data type.
interface PoseResult {
landmarks: [PoseLandMark]
}PoseLandMark
interface PoseLandMark {
inFrameLikelihood: number
position: PoseLandMarkPosition
type?: PoseType
}PoseLandMarkPosition
interface PoseLandMarkPosition {
x: number
y: number
z: number
}PoseType
enum PoseType {
LeftAnkle = "leftAnkle",
LeftEar = "leftEar",
LeftElbow = "leftElbow",
LeftEye = "leftEye",
LeftEyeInner = "leftEyeInner",
LeftEyeOuter = "leftEyeOuter",
LeftHeel = "leftHeel",
LeftHip = "leftHip",
LeftIndexFinger = "leftIndex",
LeftKnee = "leftKnee",
LeftPinkyFinger = "leftPinky",
LeftShoulder = "leftShoulder",
LeftThumb = "leftThumb",
LeftToe = "leftToe",
LeftWrist = "leftWrist",
MouthLeft = "mouthLeft",
MouthRight = "mouthRight",
Nose = "nose",
RightAnkle = "rightAnkle",
RightEar = "rightEar",
RightElbow = "rightElbow",
RightEye = "rightEye",
RightEyeInner = "rightEyeInner",
RightEyeOuter = "rightEyeOuter",
RightHeel = "rightHeel",
RightHip = "rightHip",
RightIndexFinger = "rightIndex",
RightKnee = "rightKnee",
RightPinkyFinger = "rightPinky",
RightShoulder = "rightShoulder",
RightThumb = "rightThumb",
RightToe = "rightToe",
RightWrist = "rightWrist",
Unknown = "unknown"
}License
Apache License Version 2.0
3.0.0-alpha.7
1 year ago
3.0.0
11 months ago
3.0.0-alpha.6
1 year ago
3.0.0-alpha.5
1 year ago
3.0.0-alpha.4
1 year ago
3.0.0-alpha.1
2 years ago
3.0.0-alpha.0
2 years ago
3.0.0-alpha.3
2 years ago
3.0.0-alpha.2
2 years ago
2.1.0
2 years ago
1.0.8
3 years ago
2.0.0-alpha.0
3 years ago
2.0.0-alpha.1
3 years ago
2.0.0
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.0-alpha.7
4 years ago
1.0.0-alpha.6
4 years ago
1.0.0-alpha.5
4 years ago
1.0.0-alpha.8
4 years ago
1.0.0-alpha.4
4 years ago
1.0.0-alpha.3
4 years ago
1.0.0-alpha.2
4 years ago
1.0.0-alpha.1
4 years ago
1.0.0-alpha.0
4 years ago