Real world anchors

I’m trying to build a persistent world map of my college campus using ARKit, but it’s not very reliable. Anchors don’t consistently appear in the same place across sessions.

I’ve tried using image anchors, but they didn’t improve accuracy much.

How can I create a stable world map for a larger area and reliably relocalize anchors? Are there better approaches or recommended resources for this?

Hi @cosmicsid

A single image anchor gives you one precise reference point, but ARKit's world tracking accuracy degrades with distance from known references. Over the distances involved in a campus, the device's pose estimate relative to that one anchor can drift, which is likely what you're seeing.

ARKit offers several anchor types that produce a pose from a recognized real-world target. Distributing them throughout the space gives the session repeated opportunities to re-anchor as the user moves:

Consider a hybrid experience: ARGeoAnchor outdoors where geotracking is supported, and ARImageAnchor / ARObjectAnchor (optionally identified via App Clip Codes) as fallbacks and for indoor spaces.

Real world anchors
 
 
Q