Do detected images track motion by default in iOS 12?

iOS 12 introduces a new property maximumNumberOfTrackedImages to ARWorldTrackingConfiguration which supposedly defaults to 0, but I'm finding that my detected image is tracking even if I don't set it or set it to 0, whereas in ARKit 1.5 the image would not track (and only the movement of the phone would track).


Is this still the expected behavior? In my case, I'm not expecting the image (a game board) to move, and I'm finding the accuracy of the match is less than before when I move the device.


Has anyone seen this?

Replies

As stated in the documentation for maximumNumberOfTrackedImages of an ARWorldTrackingConfiguration,

If you leave this property as the default, 0, the images in your detectionImages set will still get "infrequent updates" after the initial detection.


This being said, you could create a seperate node upon the image's initial detection, which uses the initial transform of the detected image. This node's position and orientation would then never update automatically.