I think Google Maps is doing something similar where it sometimes asks you to take photos/a video of the street you’re walking on to detrmine your location more precisely (I think it happens when the GPS is not giving good enough precision).
There's a separate augmented reality mode which a) captures frames in real time to pinpoint your position and b) displays the video stream with overlaid 3D markings which show you the way.
I _think_ this is more to do with calibrating the compass than precise location