Previously, in Chapter 10, “Image Detection,” we looked at how we can get our AR mobile app to recognize and respond to predefined 2D images when they are detected in our scenes. Well, in a similar way, we can get our app to respond to predefined 3D objects. It’s a more complex process than 2D image recognition; however, ARKit makes this possible. All we need to do is plumb the functionality together.
This process requires two parts, the first to enable the user to use the app to scan a 3D object and store some of its “spatial data,” then a second part to use that ...