I’m using ARFoundation to track Markers. My setup is what I think is standard:
. AR Session Origin, AR Tracked Image Manager with Reference Library, AR Session
… AR Camera
Then some other MonoBehaviour subscribes to ARTrackedImageManager.trackedImagesChanged to react whenever there is an image tracked.
My question: how can I get some ‘tracking confidence’ value for these tracked images? I get that there is ARTrackingState, which gives me None, Limited or Tracking. But when this is Tracking, there is still a lot of variety on how good the current tracking estimate is, depending on marker size, distance, lighting, speed relative to the camera, etc.
Is it possible to somehow get a confidence value that tells me how good the tracking estimate is?
I’m deploying only to iOS so could use ARKit functionality (but am not sure at the moment how to do so).