I hope that ARKit can be a lesson in what works well and what doesn't, and spur the open source community to create something like it, but cross platform. As more phones get dual cameras, what we can do with software like this will only get better.
Look at OpenCV for example.