- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
Can someone tell me how to tell if the swipe was made by right hand or left hand.
Thanks,
Shaleen
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shaleen,
I think there is only one direction per event, so you always know which hand did the event (i.e. right hand goes from right to left)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
thanks for the reply.
The issue I face is that every time I make a swipe gesture it is recognized as swipe.
I want it to be listed as left swipe or right swipe.
Is there a way to find out which hand(left or right) is presented in front of the camera?
thanks,
Shaleen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know which programming language you are using but you can specify it when detecting the hand using:
call PXCMHandData.QueryHandData() with
PXCMHandData.AccessOrderType.ACCESS_ORDER_LEFT_HANDS
or
PXCMHandData.AccessOrderType.ACCESS_ORDER_RIGHT_HANDS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi ,
Thanks for the reply.
I tried setting the access order but I want both left and right hand swipe to be detected.
I want to know which hand was used for the swipe.
I tried writing this code but it gave an error:
handdata.QueryHandData(PXCMHandData.AccessOrderType.ACCESS_ORDER_RIGHT_HANDS,int j, PXCMHandData.IHand handData);
Pls help.
Thanks,
Shaleen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven't worked with that part of the SDK but I am sure there has to be some kind of event ID or something when an event happens, and by looking at that ID or something should tell you the source of that event.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page