- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I was reading the docs and found this:
"Working with multiple gesture packs is a reserved feature. The SDK currently works with the default gesture pack only."
So it's not possible to detect a simple swipe left/right/up/down for now? C# SDK.
Thanks,
André
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The right hand swipe goes towards the left hand.
The left hand swipe goes towards the right hand.
Both are one way only and should be done with the wrist staying still and just fingers moving for the most part.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The beta SDK supports a left hand and a right hand swipe gesture.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I managed to print all available gestures with this:
int numGestures = handConfig.QueryGesturesTotalNumber(); for (int i = 0; i < numGestures; i++) { string name; handConfig.QueryGestureNameByIndex(i, out name); Debug.WriteLine("Gestures: " + name); }
And I got this:
Gestures: fist
Gestures: full_pinch
Gestures: spreadfingers
Gestures: swipe
Gestures: tap
Gestures: thumb_down
Gestures: thumb_up
Gestures: two_fingers_pinch_open
Gestures: v_sign
Gestures: wave
How can I know if it's a left or right swipe?
Also, it's seems that the camera is not doing a good job detecting the gestures, the Perceptual one has more accuracy to me (even using the demo provided by the sdk). thumb_down is impossible to get for instance.
Do you thing it could be a problem with my hardware?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The right hand swipe goes towards the left hand.
The left hand swipe goes towards the right hand.
Both are one way only and should be done with the wrist staying still and just fingers moving for the most part.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Colleen, I got it now.
And I have to use the handId to know which hand did the move. I guess it changed a bit from the Perceptual SDK :)
Another issue: the OnFiredGesture returns the GestureData, and the docs say that the state property is a GestureStateType.
The GestureStateType is as it follows:
- GESTURE_STATE_START - The gesture tracking is started.
- GESTURE_STATE_IN_PROGRESS - The gesture tracking is in progress.
- GESTURE_STATE_END - The gesture tracking completes.
The value of the this property is always GESTURE_STATE_START for any detected gesture, is that supposed to be like this?
If this event is only fired at the end of the gestures, wouldn't be better to always return GESTURE_STATE_END?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is a known bug and will be fixed in future release. Thanks!
Andre Carlucci wrote:
Thanks Colleen, I got it now.
And I have to use the handId to know which hand did the move. I guess it changed a bit from the Perceptual SDK :)
Another issue: the OnFiredGesture returns the GestureData, and the docs say that the state property is a GestureStateType.
The GestureStateType is as it follows:
- GESTURE_STATE_START - The gesture tracking is started.
- GESTURE_STATE_IN_PROGRESS - The gesture tracking is in progress.
- GESTURE_STATE_END - The gesture tracking completes.
The value of the this property is always GESTURE_STATE_START for any detected gesture, is that supposed to be like this?
If this event is only fired at the end of the gestures, wouldn't be better to always return GESTURE_STATE_END?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For motion gestures like "swipe" you will get both the START and END events immediately one after the other, so you can safely ignore one of them.
For poses like the "thumb up" (which, btw, is significantly improved) you will get the START event when the gesture is first detected (can be immediate) and the END event when the gesture is no longer detected.
If you choose to enable the continuous gesture events you will get the IN_PROGRESS event for every frame where the gesture can be seen

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page