Class

ARImageAnchor

Information about the position and orientation of an image detected in a world-tracking AR session.

Overview

When you run a world-tracking AR session and specify ARReferenceImage objects for the session configuration's detectionImages property, ARKit searches for those images in the real-world environment. When the session recognizes an image, it automatically adds to its list of anchors an ARImageAnchor for each detected image.

To find the extent of a recognized image in the scene, use the inherited transform property together with the physicalSize of the anchor's referenceImage.

Topics

Identifying Detected Images

var referenceImage: ARReferenceImage

The detected image referenced by the image anchor.

Relationships

Inherits From

See Also

Image Detection and Tracking

Recognizing Images in an AR Experience

Detect known 2D images in the user’s environment, and use their positions to place AR content.

class ARReferenceImage

An image to be recognized in the real-world environment during a world-tracking AR session.