Question

Ive been working with the iOS sensors a bit off late and i wanted to write an app that would accurately track the motion of the phone in space. I wanted to know if its possible to track the motion of the device and detect gestures, such as drawing a circle with your phone or even moving in a straight line.

I've been searching online about this, and i wanted to know two things:-

1.Is it possible to do this with the CoreMotion framework. 2.If Yes, what is the alternative for older devices that do not support CoreMotion. Without the double integral method using the accelerometer!

This would really help!

Any other alternative ideas are most welcome!

Thanks in advance!

Était-ce utile?

La solution

As your write, you cannot do the double integral.

For gesture recognition, I would try dynamic time warping. See my earlier answer here.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top