Click here to Skip to main content
15,881,803 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sql Severs on the network Pin
leppie29-Apr-08 23:17
leppie29-Apr-08 23:17 
AnswerRe: Sql Severs on the network Pin
Hesham Amin29-Apr-08 20:13
Hesham Amin29-Apr-08 20:13 
AnswerRe: Sql Severs on the network Pin
Nissim Salomon30-Apr-08 2:23
Nissim Salomon30-Apr-08 2:23 
QuestionHow to Dynamically add a property item to Property Grid Pin
Varad_Rajan29-Apr-08 19:19
Varad_Rajan29-Apr-08 19:19 
QuestionRemove default style border-collapse:collapse from datagrid? Pin
.NetRams29-Apr-08 18:50
.NetRams29-Apr-08 18:50 
AnswerRe: Remove default style border-collapse:collapse from datagrid? Pin
toranj_14554-Dec-09 6:09
toranj_14554-Dec-09 6:09 
AnswerRe: Remove default style border-collapse:collapse from datagrid? Pin
toranj_14554-Dec-09 6:09
toranj_14554-Dec-09 6:09 
QuestionGesture Recognition for C# Pin
][Alpha][29-Apr-08 14:50
][Alpha][29-Apr-08 14:50 
Hi there,
I'm not quite sure if this is the right spot for this - if not please excuse me...

I've just finished my first Version of a MouseGesture-Recognition program in C#.

I first got the idea when playing with a WiiRemote connected to the PC.
However, this is a version for Mice (but can also yet be used with the WiiRemote in connection with GlovePie) but as it is only a matter of getting a list of Points its easy to implement it for the WiiMote.

So, the gesture recognition itself is done rather easy, no neuronal networks are used or s.th. like that, but nethertheless I think it works very good.

First the Points are beeing flattened and reduced to 17 by searching for the lowest distance between two following Points and then replacing those 2 with one in the middle.
Second step is to calculate the angles between following Points.
So we have 16 angles between 17 Points.

After that we compare these angles to the ones in a example list and get the difference to these angles.
-> The one with the lowest difference is the recogniced.

I'm sure you got the idea, if not - have a look at the source code Wink | ;)

So heres the Code + a Build

http://rapidshare.de/files/39269348/Gestures.zip.html

Thanks to Konstantin Boukreev with his GestureApp in c++, from which I did not only got some ideas but also the example datas.

Please post some response to my work and advices how to enhance it.

Greetings from Germany

Sascha Negele
AnswerI haven't dowloaded your code Pin
Ennis Ray Lynch, Jr.29-Apr-08 18:43
Ennis Ray Lynch, Jr.29-Apr-08 18:43 
AnswerRe: Gesture Recognition for C# Pin
Vikram A Punathambekar29-Apr-08 21:34
Vikram A Punathambekar29-Apr-08 21:34 
GeneralRe: Gesture Recognition for C# Pin
][Alpha][30-Apr-08 2:45
][Alpha][30-Apr-08 2:45 
GeneralRe: Gesture Recognition for C# Pin
Vikram A Punathambekar30-Apr-08 6:33
Vikram A Punathambekar30-Apr-08 6:33 
QuestionThanks carbon_golem Pin
Member 365210629-Apr-08 10:46
Member 365210629-Apr-08 10:46 
QuestionWinAPI interaction Pin
Knowledgestudent29-Apr-08 9:39
Knowledgestudent29-Apr-08 9:39 
AnswerRe: WinAPI interaction Pin
Giorgi Dalakishvili29-Apr-08 9:49
mentorGiorgi Dalakishvili29-Apr-08 9:49 
AnswerRe: WinAPI interaction Pin
Spacix One29-Apr-08 13:13
Spacix One29-Apr-08 13:13 
GeneralRe: WinAPI interaction Pin
Knowledgestudent29-Apr-08 21:57
Knowledgestudent29-Apr-08 21:57 
GeneralRe: WinAPI interaction Pin
Giorgi Dalakishvili29-Apr-08 22:15
mentorGiorgi Dalakishvili29-Apr-08 22:15 
GeneralRe: WinAPI interaction Pin
Spacix One30-Apr-08 2:28
Spacix One30-Apr-08 2:28 
QuestionHow to find if a particular file is loaded by processes Pin
Mushtaque Nizamani29-Apr-08 8:54
Mushtaque Nizamani29-Apr-08 8:54 
GeneralRe: How to find if a particular file is loaded by processes Pin
Giorgi Dalakishvili29-Apr-08 9:19
mentorGiorgi Dalakishvili29-Apr-08 9:19 
AnswerRe: How to find if a particular file is loaded by processes Pin
PIEBALDconsult29-Apr-08 13:47
mvePIEBALDconsult29-Apr-08 13:47 
GeneralRe: How to find if a particular file is loaded by processes Pin
Mushtaque Nizamani29-Apr-08 13:56
Mushtaque Nizamani29-Apr-08 13:56 
GeneralLAN TicTacToe Pin
Member 365210629-Apr-08 8:23
Member 365210629-Apr-08 8:23 
GeneralRe: LAN TicTacToe Pin
carbon_golem29-Apr-08 8:43
carbon_golem29-Apr-08 8:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.