I have two images, A and B. if I put A in the trackingImages array on my ARImageTrackingConfiguration and then scan B with my app, it will be recognized. But if I reverse the images, so that B is in the trackingImages array and I scan A, it will not be recognized. This doesn't happen all the time, just with an occasional set of images. Is this expected? If so, why, and if not, how do I stop it from happening? Thanks in advance!
That sounds like expected behavior. With a reference image showing only animal A, any images of it will be detected (even if the photo shows animals A+B, A+C, etc.). If your reference image however shows animal A+B, that's what needs to match. So ARKit will detect that exact image, but not an image showing A+C, or only A.