Search code examples
accelerometerdata-analysis

Processing accelerometer data


I would like to know if there are some libraries/algorithms/techniques that help to extract the user context (walking/standing) from accelerometer data (extracted from any smartphone)?

For example, I would collect accelerometer data every 5 seconds for a definite period of time and then identify the user context (ex. for the first 5 minutes, the user was walking, then the user was standing for a minute, and then he continued walking for another 3 minutes).

Thank you very much in advance :)


Solution

  • I don't know of any such library.

    It is a very time consuming task to write such a library. Basically, you would build a database of "user context" that you wish to recognize.

    Then you collect data and compare it to those in the database. As for how to compare, see Store orientation to an array - and compare, the same holds for accelerometer.