gesture-recognition

Kinect 3D gesture recognition based on skeleton movements - What libraries exist?

蓝咒 提交于 2019-12-21 17:11:40
问题 What gesture recognition libraries (if any) exist for the Kinect? Right now I'm using OpenNI to record skeleton movements but am not sure how to go from that to triggering discrete actions. My problem might be as simple as pose detection but it could also be as complicated as time based movements (ie. detect when they are moving their hand in a circle) depending on how difficult that is. The examples that I've seen for pose detection have been very ad-hoc - is this because a generic algorithm

UIPanGestureRecognizer does not switch to state “End” or “Cancel” if user panned x and y in negative direction

坚强是说给别人听的谎言 提交于 2019-12-21 07:22:55
问题 I've got a little problem with the UIPanGestureRecognizer. The Recognizer does not report the UIGestureRecognizerStateEnded state if the user panned to the top left (means negative x and y directions) The state changes to UIGestureRecognizerStateEnded if any direction is positive when the user lifts his finger, but it just ceases to report actions if both directions are negative or zero. This is bad because i hide some overlay views as long as the user drags something around and those views

Gestures not working when using DrawerLayout in Android app

杀马特。学长 韩版系。学妹 提交于 2019-12-21 04:00:08
问题 I have an Android app with a single Activity. This activity uses this layout: <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent"> <!-- The main content view --> <FrameLayout android:id="@+id/content_frame" android:layout_width="match_parent" android:layout_height="match_parent" /> <!-- The navigation drawer --> <ListView android:id="@+id/left

Do I need to release a gesture recognizer?

微笑、不失礼 提交于 2019-12-20 10:24:46
问题 If I add a gesture recognizer to a table cell called cell , e.g.: UILongPressGestureRecognizer *_longPressRecognizer = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(cellGestureRecognized:)]; _longPressRecognizer.allowableMovement = 20; _longPressRecognizer.minimumPressDuration = 1.0f; [cell addGestureRecognizer:_longPressRecognizer]; [_longPressRecognizer release], _longPressRecognizer = nil; Do I need to manually call -removeGestureRecognizer: on this cell at

OpenCV - approxPolyDP for edge maps (not contours)

╄→尐↘猪︶ㄣ 提交于 2019-12-20 08:49:44
问题 I have successfully applied the method cv::approxPolyDP on contours (cv::findContours), in order to represent a contour with a simpler polygon and implicitly do some denoising. I would like to do the same thing on an edge map acquired from an RGBD camera (which is in general very noisy), but with not much success up to now and I cannot find relative examples online. The reason I need this, is that by means of an edge map one can also use the edges between fingers, edges created by finger

UILongPressGestureRecognizer issue

笑着哭i 提交于 2019-12-20 04:13:25
问题 i have one issue regarding UILongPressGestureRecognizer, i have add gesture like below of the code **ViewDidLoad** UILongPressGestureRecognizer *_longRecognizer = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(ICN_TRASH_Click:)]; NSArray *recognizerArray = [[NSArray alloc] initWithObjects:_longRecognizer, nil]; [[self.view viewWithTag:2001] setGestureRecognizers:recognizerArray]; OnClick if ([sender isKindOfClass:[UILongPressGestureRecognizer class]]) { UIAlertView

How to listen for both tap and gestures at the same time in Adobe AIR for iOS?

允我心安 提交于 2019-12-19 04:12:29
问题 I am making an iOS game and I need a detection for both simple tapping and gestures (swipe etc) simultaneously . In AIR, I can only see one setting for the Multitouch input mode: TOUCH_POINT (which works for basic tapping) and GESTURE. But I need both at the same time so changing the mode isn't an option. How can I listen to both at the same time? Thanks, Can. 回答1: You can use standard mouse events for tap. This would maintain gesture multitouch input mode. Otherwise, Gestouch framework: NUI

Where can I learn/find examples of gesture recognitions streamed from Kinect, using OpenCV?

…衆ロ難τιáo~ 提交于 2019-12-18 11:59:26
问题 I have Kinect and drivers for Windows and MacOSX. Are there any examples of gesture recognitions streamed from Kinect using OpenCV API? I'm trying to achieve similar to DaVinci prototype on Xbox Kinect but in Windows and MacOSX. 回答1: I think it wont be this simple mainly because the depth image data from kinect is not so sensitive. So after a distance of 1m to 1.5m all the fingers will be merged and hence you wont be able to get a clear contours to detect the fingers 回答2: The demo from your

Does having variations of gestures in gesture library improve recognition?

这一生的挚爱 提交于 2019-12-18 10:24:35
问题 I'm working on implementing gesture recognition in my app, using the Gestures Builder to create a library of gestures. I'm wondering if having multiple variations of a gesture will help or hinder recognition (or performance). For example, I want to recognize a circular gesture. I'm going to have at least two variations - one for a clockwise circle, and one for counterclockwise, with the same semantic meaning so that the user doesn't have to think about it. However, I'm wondering if it would

Android - Gesture Detection (Swipe up/down) on particular view

杀马特。学长 韩版系。学妹 提交于 2019-12-18 01:52:17
问题 I am trying to implement the OnGestureListener in Android. I have three TextViews in my layout. What i am trying to achieve is to set Gesture Listener for two of the textViews . Here is the layout - <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/rlMain" android:layout_width="wrap_content" android:layout_height="wrap_content" > <TextView android:id="@+id/tvOne" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout