Software Archive
Read-only legacy content
17060 Discussions

How to control cursor by hand?

CLi37
Beginner
299 Views

The cursor was enabled in Windows main program, hand operations were worked in a thread. I try to apply hand coordinate to control the moving of cursor by PostMessage but there was no reaction. What is wrong? RealSense looks enabled mouse and keyboard at the same time.  

0 Kudos
3 Replies
CLi37
Beginner
299 Views

Thanks for your reference. I do use SetCursorPos. Now I can make cursor follow hand image moving.

My current question is:

What is the best way to select/capture an object at current cursor with gesture?

Anything like XBox to select an object on the screen by hand gesture?

 

0 Kudos
Eusebiu_M_
Beginner
299 Views

For .NET you can use http://msdn.microsoft.com/en-us/library/system.windows.forms.cursor.position(v=vs.110).aspx

The problem is that stability of the returned joint position is poor - so expect for the mouse cursor to have an unstable behavior.

0 Kudos
CLi37
Beginner
299 Views

I have found the similar performance problem. When I enabled joint position function the response speed was slowed down. 

A little bit funny thing is that the cursor will be shaking while my hand was not completely stand by still. This is a kind of visual glitch of gesture cursor.   

0 Kudos
Reply