Chapter 45
Working with Image Tracking in ARKit

Starting from iOS 12, developers can use the back-facing camera to detect and track known images by using an API called ARImageTrackingConfiguration. What does it mean to you? If you've watched the Harry Potter movie before, you probably remember the wizarding newspaper with animated images in print. With the image tracking configuration, we can turn this into a reality through an ARKit app.

In this chapter, you will learn how to use ARImageTrackingConfiguration to perform image tracking and build an AR newspaper app similar to that appeared in the Harry Potter movie. It's not easy to describe how the app works in words. So, please head over to this link (https://link.appcoda.com/arnewspaper) and see the demo app in action. When the app recognizes a specific photo, it overlays the image with a video. As you can see in the video, what's amazing is that ARKit tracks the position change of the image and keep anchoring the video content.

Looking interesting, right? Let's get started.

To continue reading and access the full version of the book, please get the full copy here. You will also be able to access the full source code of the project.

results matching ""

    No results matching ""