Questions tagged [gesture-recognition]
Anything related to gesture recognition, i.e. the process of recognizing the gestures of a human user by a machine.
578
questions
0
votes
0
answers
46
views
Cant use TappedEventArgs in OnTapped Event
In all examples regarding Tapping Eventhandling in MAUI I have seen the Handlerfunction gets TappedEventArgs.
-> void OnTapGestureRecognizerTapped(object sender, TappedEventArgs args)
-> XAML: .....
0
votes
0
answers
10
views
How to use a multidimensional array (3D or 4D) for time series classification
I just can't wrap my head around this so I decided to ask.
Imagine that you have a 3D array with 6 layers. Each of these layers contain data about 6 people demonstrating 6 different movements 10 times....
0
votes
0
answers
20
views
How to feed 3DCNN extracted features to gru?
i am trying to feed output features of my 3DCNN to gru for automatic lip reading
inputs to my 3DCNN are videos processed and stored in numpy arrays later loaded and converted to tensors of the shape
[...
1
vote
0
answers
156
views
Getting the position of the mouse or gesture during a Drag and Drop in .Net MAUI
Is it possible to get the position of the mouse or the finger during a Drag and Drop, using .Net MAUI?
Using the GestureRecognizers, I can use the DropGestureRecognizer to receive the DragOver event ...
0
votes
0
answers
103
views
Jetpack Compose - long press propagation from child to parent
I have a parent layout with couple of children and I have a long click listener on the parent and couple of children have it's own regular click listeners. I want to achieve a behavior when I long ...
1
vote
1
answer
72
views
Is there any way to implement long press gesture with SkiaSharp?
I am using Skiasharp on Xamarin Forms app. With SKTouchAction I was trying to capture the time duration of SKTouchAction.Pressed and SKTouchAction.Released and find if the gesture is Long pressed or ...
1
vote
1
answer
36
views
ValueError: not enough values to unpack (expected 3, got 2) when I try to capture a webcam images
I want to apply the python code published in the following page link
[https://data-flair.training/blogs/sign-language-recognition-python-ml-opencv/]
I faced a problem with using the data augmented ...
0
votes
1
answer
464
views
SwiftUI ScrollView gesture recogniser
How can I detect when a ScrollView is being dragged?
Within my ScrollView I have an @Binding scrollPositionOffset variable that I watch with .onChange(of:) and then programmatically scroll to that ...
0
votes
0
answers
72
views
Unity gesture recognition full body with vive trackers
I am a beginner in Unity. I want to implement a full body gesture recognition in Unity with vive controllers and trackers. I want to build a tool, where you are also able to include new gestures as a ...
0
votes
1
answer
739
views
Mediapipe Hands landmark extraction
My goal is to extract the hand landmarks from media pipe for each hand to train an LSTM network with and to recognize different actions.
With the Holistic solution, this is quite easy, since all ...
0
votes
1
answer
64
views
I want to navigate other fragment by Left to Right touch in fragment(kotlin)
I want to navigate to another fragment by findNavigator.
But findNavigator was declared in Fragment. So I must detect the Left to Right touch gesture on Fragment view.
How can I use a detector in one ...
1
vote
0
answers
67
views
WM_GESTURE message delay
I have implemented a gesture handler within a Windows Desktop Application written in C++ and notice a small delay before receipt of the initial WM_GESTURE message. The effect is that when panning, ...
0
votes
1
answer
110
views
Adb force real touch
Im writing python testcases for a payment terminal operating on android.
I know how to use UIAutomator2 and adb tap or keyevent but im facing an issue. I cant interact with any of the buttons only on ...
0
votes
1
answer
370
views
Flutter: Multiple Tap Gestures for Text
I'm looking for a way to add multiple tap gestures to a block of text.
The block of text may consist of a hyperlink. The goal is that if a user taps on the link, navigate to that web page. If they tap ...
0
votes
0
answers
192
views
Using hand pose coordinates (landmarks) from python in Blender for visualisation
I am doing a project to visualise hand movement from a wearable device (gloves) to a screen. I am using Mediapipe to get hand landmarks. This is to get synthetic data for my project. Now I am planning ...
0
votes
0
answers
111
views
How to use an accelerometer to detect a particular movement?
I'm working on a device that detect a user movement using an accelerometer and gyroscope (Adafruit MPU-6050). I'll be using a Raspberry Pico. My problem is : how to detect x, y and z movements ...
2
votes
2
answers
700
views
compose gestures, zoom in zoom out move and rotation
I hope to drag using single touch and multi touch. And I also hope to my image rotate and zoom in zoom out. I write this code, however, it didn't follow exactly my finger touch and verbose. Most over, ...
0
votes
1
answer
80
views
SwifUI onTapGesture inside ScollView not alway detect tap
I have problem with Views that have onTapGesture and are placed inside ScollView
This onTapGesture is not always reacting to tap gesture.
I need to tap precisely on such view.
It seems like there is ...
0
votes
1
answer
51
views
Why doesn't my UITapGestureRecognizer call its func?
I want things to happen when I tap or double-tap my programmatically declared UILabel, but nothing happens when I press it.
Here's my code, which should print "HR_tap" when I tap the ...
0
votes
1
answer
52
views
How to get value out of loop, without breaking the loop
I'm trying to make a Video Player, that uses gesture recognition for the video player actions (play, pause, fast-forward, etc.)
For the Video Player I use PyQt5, and for the gesture recognition I use ...
1
vote
1
answer
383
views
Allow DragGesture to start over a Button in SwiftUI?
The code below presents a View in the middle of the screen, and allows you to drag that View. However, if you start the drag on the Button, the drag does not work. You need to drag on the area of the ...
-2
votes
1
answer
1k
views
Python, cvzone - why do i get this ValueError?
I am trying to zoom into a picture with usage of two hands (gesture controled image zoom), but when trying to use two hands I get this error but I don't know why. When making my program I followed ...
0
votes
2
answers
674
views
How to listen to previous screen Listener when navigate to a new Page?
I have a question about gestures.
I have a button that triggers to show a Dialog when long-press, choose the option when onMovePointer, and close the dialog when the user releases the pointer. Imagine ...
0
votes
1
answer
725
views
AttributeError: module 'appium.webdriver' has no attribute 'TouchActions'
I've tried to use the TouchActions from Appium to perform a horizontal banner swipe, but I received the error:
AttributeError: module 'appium.webdriver' has no attribute 'TouchActions'
Code:
wait = ...
0
votes
0
answers
190
views
AttributeError: 'WebElement' object has no attribute 'swipe'
I got the following error: AttributeError: 'WebElement' object has no attribute 'swipe' for the last part of the code and error: selenium.common.exceptions.WebDriverException: Message: Unknown mobile ...
0
votes
2
answers
1k
views
React native gesture handler
I am really new to React native Animation. I am trying create Custom Bottom sheet. I have made to two Animation function. Those functions will trigger transform translateY postion change. I have ...
0
votes
1
answer
221
views
Flutter : Popup for each Listtile
I am working on a flutter project and I want to popup to get generated on clicking a particular tile. This is my code
This is my ListTile generator
Future<Widget> getRecordView() {
print(&...
1
vote
2
answers
328
views
Xamarin Forms: How to add single and double tap for an image?
I am trying to implement a keypad UI. In the keypad, the +(plus) and 0(zero) options are placed on a single image icon. So I need to show 0 on UI for single tap and for double tap I need to show the + ...
1
vote
1
answer
279
views
TTS not working in tensorflow for gesture detection android app
I am making a gesture detection app in which if you perform the ASL it detects the sign you are performing and shows the result like below.
I have also implemented a EditText field in which the ...
1
vote
0
answers
117
views
.isGestureDetectionAvailable() always returns false
This question was unanswered for some times here and here, I'm trying to use that feature for my app and I've encountered this same problem and the solutions didn't work for me. there is a fact that ...
0
votes
1
answer
186
views
Eye cursor fixed at the center of FOV and no hand/gesture recognition on HoloLens
my HoloLens 2 app runs perfectly in Unity: the simulated hand gestures / speech input are recognized and the menus/holograms are responsive. I have literally 0 warnings/errors.
The solution builds ...
-1
votes
1
answer
33
views
How to do simple VR gesture/movement recognition
For my university project I am making a program to help test children's motor skills. Its basic ball catching/throwing tests, but there are certain steps involved, eg, for an underarm throw the ...
1
vote
1
answer
2k
views
Gesture recognition with Unity, Oculus Quest and the Oculus Quest Integration package
I'm trying to implement hand gesture recognition for Oculus Quest with Unity and the Unity Oculus integration package.
I've read the "Hand Tracking in Unity" documentation on the Oculus ...
-1
votes
1
answer
87
views
Languages to develop applications for Xbox 360 kinect
I know this sounds stupid and I'm propably very late to the party but here's the thing I want to program an gesture recogniction application (in the likes of this Hand detection or this actual finger ...
1
vote
2
answers
453
views
How to detect touch event across multiple views on my view controller?
In my viewController I have programmatically created several squares as sub-views.
Imagine it as a chessboard.
I would like to implement a method that executes some actions upon the sub-view (e.g., ...
1
vote
1
answer
253
views
How to customize the gesture recognizer automatically added by SwiftUI .onDrag?
Is there any way to customize the gesture recognizer used by .onDrag() in a SwiftUI View? The developer documentation states "applying the onDrag(_:) modifier adds the appropriate gestures for ...
1
vote
1
answer
171
views
SwiftUI - DragGesture and .onDelete conflict
I have a conflict between gestures:
import SwiftUI
struct ContentView : View {
@State var showSearchBar = true
var body : some View {
NavigationView {
Form {
...
2
votes
1
answer
2k
views
Is it possible to enable tap outside the bottomsheet?
I want to enable users to take actions outside the bottom sheet as well. For example in the image shown below, I want the user to make a tap on the play button. I cannot do that now since the barrier ...
0
votes
0
answers
27
views
Is Android's touch and click event controllable?
I am trying to work on a gesture controlled app which could let the user interact with someone's device(all apps in the device and basic activities) with gesture, running the app in the background and ...
2
votes
1
answer
335
views
In Flutter: How can you detect when a touching finger has *entered* the widgets bounds? [closed]
It's quite a minimal question so I apologize but I haven't found any good tutorial on this.
In Flutter: How can you detect when a touching finger has entered the widgets bounds?
2
votes
2
answers
631
views
Why onTap is not working in my flame game (Flutter)?
I am working on a simple game using Flame and Flutter. I am following this tutorial:
Create a Mobile Game with Flutter and Flame – Beginner Tutorial
But after I added some code following tutorial line:...
2
votes
2
answers
76
views
I am trying to run a project based on gesture recognition and my iOS simulator says front camera not found
This is the image showing a simulator with a popup denoting a message
I am trying to run a swift project on Xcode Version 12.0 beta 5 (12A8189h). I am attaching the link from where I have downloaded ...
0
votes
0
answers
294
views
How to Detect Only Hand Movement using OpenCV HSV and Background Subtraction?
I am having difficulty creating a detector for hand and its movement due to the program didn't run when I put BgSubtraction and HSV codes altogether. It can only run with HSV code with the following ...
14
votes
2
answers
7k
views
Why doesn't SwiftUI onTapGesture always work
The onTapGesture in SWiftUI doesn't work reliably. This example shows the problem, which is that sometimes when you tap on a cell, the background changes to grey as it should, and another time an ...
2
votes
1
answer
894
views
Flutter: fixing syncfusion calendar scroll by forcing gesture arena winner?
I have a problem with SyncFusion's flutter calendar which is demonstrated by this screenshot of SfCalendar showing months which is inside a Column with other children (also see end for minimal ...
-1
votes
1
answer
63
views
NSCollectionView, NSCollectionViewItem, & MVC
Hi I'm going to add a double click gesture recognizer for items in a collection view. I have a didSelect() delegate in the collection view and I could add it there, or put it in the overridden ...
1
vote
1
answer
525
views
I am getting this error ---> TypeError: integer argument expected, got float
this a simple gesture recognition using python , opencv
Libraries In Use
we will be using only 2 libraries in this tutorial
OpenCV
Numpy
import cv2
import numpy as np
from pynput.mouse ...
4
votes
1
answer
3k
views
Expo + React Native: Draw line between coordinates on two type of views
I am currently using this module: https://github.com/mxmzb/react-native-gesture-detector. I want to be able to draw a line from the points created. however, it only seems to output circles.
It has a ...
0
votes
0
answers
59
views
Is it possible to implement the functions of a mouse without actually using one, using gesture control
I am working on a project where I want to implement gesture recognition by hand. To be clear, I want to control the cursor simply by hand(precisely two fingers). I have tried the use of color bands ...
2
votes
1
answer
2k
views
InkWell effect starts delayed if using onDoubleTap; want to trigger that as soon as the widget gets touched
If you are using onTap & onDoubleTap side by side with an InkWell, then a single tap gets delayed (300ms). I know the time is needed for the recognition of a double tap but also the effect is ...