.netgestureuwpmicrosoft-band

Detect hand gestures using Accelerometer


I'm currently trying to figure out swiping gestures using the Microsoft Band 2s accelerometer/Gyroscope.

My implementation is quite childish: I get the biggest change across all axes in accelerometer values since last values update. This is very inaccurate and doesn't register until you move with specific speed (above threshold). Another option that springs to mind is to measure the change for more than one value difference, but I can see this being not so accurate either.

Is there a ready library that already does that in .NET? if not, any resources to get me in that right direction (no pun intended)?

Thank you,


Solution

  • AzureMl ended up being too expensive and restrictive for the project.

    I moved to using Wiigee; it was initially developed for the WiiMote but with a bit of tweaking it works with other devices with accelerometer sensor.

    It's written in Java, so you'll need use a server to communicate between the two programs (I used SignalR)