How can I recognize a Microsoft Band gesture

From the phone I can send a message and / or dialogue to the Microsoft paired group, but I would like to receive confirmation from the group to the phone. Since there seems to be no other way, I think I will have to pick up a gesture, for example, when the user rotates their wrist back and forth once or maybe shakes their wrist. It sounds like work for an accelerometer and gyroscope. Gathering information from them should be simple enough, but from the point of view of recognizing gestures, such as turning the wrist in one direction and then back in the other, someone can advise how to define this as an intentional gesture, and not just normal "without gestures "

Thanks so much for any help,

John H.

+4
source share
1 answer

Start by saving data and plotting it in different graphs to see if you see a template for this gesture. I had a similar problem, I wanted to detect when the user bit - and filter out other gestures such as cutting, drinking, etc.

I recorded 1 minute of data and took an exactly predetermined number of bites, and otherwise interacted normally. Then I smoothed the data a bit and looked at the chart to see if I could see a template with which to work with thresholds.

: , ( 20 16 ) Y

, "" , , , , , , .

:

Y:) enter image description here

enter image description here

, , , , , . , .

enter image description here

  • , .
  • , .
  • .

, , ( , ). , - .

, :) - ...?:

if (totaltime < maxTime)

( .X > -)    if (reading.timestamp - itemsForCount.Last(). TimeStamp <= maxTimeBetweenShakes)    itemsForCount.Add( ({....})

if (itemsFourCount.Count >= wishShakes)  itemsFourCount.Clear(); if (totaltime > maxTime)  itemsFourCount.Clear();

: Leap, , js, , . Js-. # libs , lic. .

Hammer.js - OSS, , , - .

kinect, , , , , .

+10

Source: https://habr.com/ru/post/1584323/


All Articles