@mairin
I can think of two.
1) camera tracking with OpenCV. This is actually pretty common and there are implementations like https://github.com/kylemcdonald/FaceTracker lying around. We experimenting a lot with this stuff at Weta although it was very much in r&d rather than in production.
2) accelerometer, like https://developer.android.com/guide/topics/sensors/sensors_motion.html