Multiple Image Tracking in Unity AR ✅ Several AR Markers

Multiple Images can be Tracked in Augmented Reality — this is called Multiple Image Tracking.

Unity AR Foundation Engine (ARKit, ARCore) provides AR Image Tracking technique that allows you to detect multiple 2D images in the Real World, triggering digital content to appear in the various forms.

I created a Video Demo with Business Card (Unity Asset) that shows such experience. Multiple Business Cards are Loaded Dynamically into the only reusable Game Object on the scene. Target Business Card can be selected with a separate Tracked Image (AR Image Marker).

Image Tracking and Multiple Images

In this section, I provide some information about Image Tracking and Testing Multiple AR Images.

Additional Information:

ARCore (Android) Behavior

ARCore Requirements: Supported Devices & Augmented Images.

ARCore API assumes that AR Images are static in the environment (2), so once they are recognized successfully, they will always appear in the list of anchors (updated list) (1) until the session is reset.

This means 2 things:

  • AR Foundation will never mark the Tracked Image as removed, and it will never mark the Tracking State for the Tracked Image as None.
  • If you try to test 2 Different Images via your monitor (desktop/laptop) and you will switch images with CMD+Tab (macOS) or Alt+Tab (Windows), so Images will be in the same position on the monitor, then ARCore will not understand that.

ARKit (iOS) Behavior

You can learn more about ARKit Requirements for Image Tracking here.

  • Tracking State for the Tracked Image can be set as None when the camera stops seeing it.
  • 2 images can be successfully tested on the monitor in the same position, as it described above for ARCore.

This is an Extended Demo, but in Horizontal Mode of Business Card: Unity Asset