I am trying to record tracks at a much finer scale than is possible with GPS, but hopefully using something simple and cheap, ideally an iPhone. The resolution for track data I am after is around 10-20cm.

The location of the track, and even the scale is not as important as the fine details of the shape of the track.

What I have in mind as the ideal solution is an iPhone app that uses the camera in conjunction with the other sensors to record a track in a similar way to an optical mouse detecting movement over a desk's surface.

So you would hold the phone with the camera facing down and walk the track. The app would trace the moving surface and infer where it is going, using the gyroscope and accelerometer to help correct for tilting the camera. It would also use the gyro and to a lesser extent the compass to help correct and detect the turns in the track. The height of the phone off the ground I don't think could be sensed or inferred but you could just enter that and hold it carefully at a consistent height. The LED could be on to aid detection through shadows.

If you happen to be walking in a track that finished where it started, you could mark that in some way to close the loop and it would try and correct it if the ends didn't meet up, and if you walked a long way, perhaps over 50 meters, it could also use GPS data to calibrate the scale of the track, but probably not really contribute much to the details of the track's geometry.

So does something like this even exist in any form for iPhone or otherwise? Is there anything which is simpler, e.g., it just uses the gyro/compass and a pedometer-style measurement method?

  • I'm interested to see if there's anything like this, too. I'd love to see the elevation change and curves in the BART Transbay Tube (an underwater subway tunnel) where there (obviously) isn't any GPS signal.
    – Cajunluke
    Commented Jul 19, 2012 at 5:24
  • Currently looking into 123dapp.com/catch which looks to solve my problem. Don't think it will help with the subway mapping. Commented Jul 24, 2012 at 8:49
  • I wouldn't have know you wanted a camera app to reconstruct a 3D volume from how you described things. How does the app you linked above work to draw a path over 50 meters long?
    – bmike
    Commented Aug 26, 2013 at 18:03

2 Answers 2


Clearly, there aren't any popular apps that replicate an Inertial Navigation System which is what you describe.

The wikipedia article I link above illustrates that the integration errors that crop up from this sort of apparatus build up over time and errors of hundreds of meters are possible after only an hour of operation.


GPS would be far more accurate than inertial calculations given the limitations and lack of precise calibration of the gyroscope sensors within an iOS device. They are designed to detect gross movements (10-25 degrees) and other tools like laser or echo location would be needed to measure a path over a 50 meter span more accurately than GPS will allow.


The M7 in the new iPhone 5S should do pretty much exactly this. I don't know whether there are any specific apps that do exactly what you're looking for yet, but the new hardware enables this sort of functionality.

ARGUS - Motion and Fitness Tracker by Azumio looks like it might be fairly close.

Plus, if you can't find one, you could always write your own!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .