处理加速度计数据 [英] 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)?
例如,我将在一定时间段内每5秒钟收集一次加速度计数据,然后识别用户环境(例如,在开始的5分钟内,用户在走路,然后用户站立一分钟,然后他继续走了3分钟。)
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).
非常感谢:)
推荐答案
我不知道任何这样的库。
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.
这篇关于处理加速度计数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!