开发者

Detecting steps taken during walk using IPhone

开发者 https://www.devze.com 2023-01-04 19:26 出处:网络
is it possible that i can detect with application for the amount of indoor walk using I开发者_如何学Pythonphone SDK.

is it possible that i can detect with application for the amount of indoor walk using I开发者_如何学Pythonphone SDK. ? if so then what steps should i follow to achieve.

thanks


Run AccelerometerGraph sample code and walk with the device. That will give you a rough idea of what the time between strides is, and what a stride's acceleration looks like. Then write accelerometer logging code of your own that can calculate the same thing.


Yes, using the data from the accelerometer(s) in the device makes this possible. I wouldn't underestimate the effort to write a signal filter for this though, as it can be pretty complex if you are striving for accuracy.

There exists lots of research in this field, see this paper for some basics.


Utilizing the accelerometer and a little bit of experimentation, you should be able to ascertain the number of accelerate/decelerate motions of a walker. Then, determine the average stride length and compute the distance traveled.

0

精彩评论

暂无评论...
验证码 换一张
取 消