generated from NativeScript/plugin-seed
-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.ts
52 lines (49 loc) · 1.28 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
export 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"
}
export interface PoseLandMarkPosition {
x: number
y: number
z: number
}
export interface PoseLandMark {
inFrameLikelihood: number
position: PoseLandMarkPosition
type?: PoseType
}
export interface PoseResult {
landmarks: [PoseLandMark]
}