Facing Aware Camera
2 The Idea
This article shows how to implement a camera that has a way to determine the direction it is facing and build upon this data to enhance the user experience.
We use various sensors (namely accelerometer, magnetometer\compass and gyroscope) to determine current positioning of the device. Elements can then be added to captured camera frames thus adding Augmented Reality dimension to the application. The article targeted to Windows Phone platform (8.1 and up). However, can easily be ported to other platforms like Android and iPhone and if Xamarin is employed in the process this should in theory mean minimal code changes. This revision also introduces gyroscope sensor and complementary filtering which help in getting accurate and noiseless sensor reading that can be reliably used by the world model.
Together with a full paper you will receive sample project.