I was actually looking for a way on how to generate such panoramas in Android using the accelerometer and magnetic sensor as support. Essentially what Google does with PhotoSphere.
Does anyone know of any libraries or implementations of such a project?
I'm actually about to embark on exactly such a project. My plan is to use OpenCV's "stitching_detailed.cpp" example, and improve it from there. OpenCV's stitching is quite good out of the box, but I think I can improve it by adding knowledge from the phone's IMU. What do you need this for?
I don't know specifically about Android but Dermandar[1] have an SDK which claims Android compatibility (I use their iOS app which takes horizontal panoramas as the phone rotates.)