Detecting steps taken during walk using IPhone
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.
精彩评论