← Back to context

Comment by hahahaa

17 hours ago

First time I have AR'd. That was cool. How does it keep the hole in the same point in space as I walk about?

The app doesn't have to do this itself, phones do it for you. ARCore on Android, ARKit on iOS.

  • Oh yeah I mean how do the phones do that. I guess it uses dead reckoning with visual cues and some machine learning.

    • on iPhone 12 Pro Max and later (maybe only on Pros, I forget) they have a LiDAR sensor built in, allowing for impressively accurate 3D scans of objects with a free app like Scaniverse. But yeah I think AR was the intention there

    • Your phone has an accelerometer, which can be integrated twice to result in slightly accurate dead reckoning; just keep accumulating 3-vectors with every time-slice. That's a helluva lot easier than visual cues.

      4 replies →

    • In my experience, on Android, it definitely relies on camera: AR doesn't work in dark room, and barely works in slightly-lit room. So it must be fusing camera + accelerometer + ...