Gesture Detection
Use Gesture Detection to detect gestures. Gesture Detection is in the Hand category.
Input
Name | Data Type | Description |
---|---|---|
Detect | String | Decide which hand to use for gesture detection, including Hand 0, Hand 1, or Either. The device will track either hand if Either is chosen. |
Gesture | String | Gesture types include: Backhand 3-finger Pointing Up, 4-finger Pointing Up, Fist, Open Palm, “I Love You”, Horns, Index Finger Up, Victory, Thumb Up, Hand Heart (Thumb Up), Hand Heart (Thumb Down), Open Fist Heart, Finger Heart, Index Pointing, 2-finger Pointing, 3-Finger Pointing Up, OK, “Call Me”, V (Thumb and Index ), Touching Palms, Kung Fu Salute (Fist Uncovered), “Pray”, Palm Up, Kung Fu Salute (Fist Covered), Wrist V, Salute, Palm to Front, Pinched Fingers, Thumb Down, Index, and Middle Pointing Up. |
Output
Name | Data Type | Description |
---|---|---|
Begin | Exec | Execute the next node when the hand gesture moves from the “undetected” state to the “detected” state. |
Stay | Exec | Keep executing the next node when the hand gesture stays detected. |
End | Exec | Execute the next node when the hand gesture moves from the “detected” state to the “undetected” state. |
None | Exec | Keep executing the next node when the hand gesture is not detected. |
Example
This example uses Gesture Detection (“Index Finger Pointing Up”) to control the single UFO and Gesture Detection (“Victory”) to triple UFOs. Check Animation Sequence for how to add an animated images.
In the Gesture drop-down menu, choose any of the gestures listed in Hand Gesture Examples
In the Hand Index drop-down menu, choose “Either” to recognize either left or right hand. Hand 0 is the first hand that appears and Hand 1 is the latter hand that appears.
Hand Gesture Examples
Hand Heart (Thumb Up) | Hand Heart (Thumb Down) | Open Fist Heart |
Finger Heart | Index Pointing | Two Finger Pointing |
"I Love You" | Horns | Thumb Up |
Fist | Index Pointing Up | Victory |
Index and Middle Pointing Up | Backhand 3-Finger Pointing Up | 3-Finger Pointing Up |
OK | 4-Finger Pointing Up | Open Palm |
"Call Me" | V (Thumb and Index) | Touching Palms |
Kung Fu Salute (Fist Covered) | Wrist V | Salute |
Palm to Front | Pinched Fingers | Thumb Down |