public class GestureData
extends java.lang.Object
Constructor and Description |
---|
GestureData(int handNum) |
Modifier and Type | Method and Description |
---|---|
int[] |
getActionGesture()
Gesture
0 - thumb left
1 - thumb right
2 - byebye
3 - Swipe left
4 - Swipe right
5 - Swipe up
6 - Swipe down
7 - thumbs up
8 - Zoom in
9 - Zoom out
|
float[] |
getDistances()
Get the distance between the hand and the camera (unit: mm)
|
int[] |
getGestures()
static gesture
|
int |
getHandNum()
the number of hands
|
void |
setActionGestures(int[] gestures) |
void |
setDistances(float[] mDistances) |
void |
setGestures(int[] gestures) |
void |
setHandNum(int handNum) |
public void setHandNum(int handNum)
public int getHandNum()
public void setGestures(int[] gestures)
public int[] getGestures()
public void setActionGestures(int[] gestures)
public int[] getActionGesture()
public void setDistances(float[] mDistances)
public float[] getDistances()