ARImageTracking
This is an Augmented Reality Xcode project that uses Apple's newest RealityKit framework and ARKit 4 features, to dynamically track a moving image in the real world. It is written in SwiftUI.
The example video and image used in my project is of an iPhone Xs screen recording and iPhone Xs box. Do swap the video and image out to whatever you want to track and overlay. I've commented the entire project to help you adapt the code to your needs!
Contributions are welcome. Tested on iOS 14.3 and requires an iDevice with an A12 chip or higher to run.