Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Interpret physical button clicks #820

Unanswered
bartbutenaers asked this question in Q&A
Discussion options

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

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /