-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Interpret physical button clicks #820
-
Hi everybody,
Question from an AI noob...
I would like interpret how a physical button is being clicked: a single click, a double click, a long press, and so on...
But not sure whether this could be achieved using the time series classification in brain.js (based on this discussion)...
Not only the pattern is important, but also the corresponding timestamps. For example 01010 can be interpreted as:
- Two separate single clicks (if there is more than N seconds between the ones)
- A single doubleclick
So I need to intperpret both the values (0 and 1) and the timestamps when those values occur. Is that possible?
Some more background info: I would like to train the application, by having everybody in my house do some doubleclicks, tripple clicks, and so on and label those. And then the system afterwards should be able to recognise e.g. a double click
Not sure if pressing a button can be recognized (i.e. keep the button down for some seconds), which is used most of the time to start dimming lights. Because there can be a long press and a short press, and all kind of press intervals in between. Because you cannot train the system for all those possible intervals...
Thanks a lot!!
Bart
Beta Was this translation helpful? Give feedback.