Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

ARFoundation image tracking reliability

Discussion in 'AR' started by hyperbaton, Aug 21, 2020.

  1. hyperbaton


    Dec 16, 2018

    I'm looking for assistance improving image tracking capability with ARFoundation.
    In general it works and I'm able to track images (currently tracking just one image at a time), attach prefabs etc..

    I'm coming from using Vuforia and trying to get rid of that dependance to be able to use just ARFoundation reliably. However, for now, Vuforia works better and faster in my opinion.

    My question is: what are the general guidelines for using ARFoundation image tracking reliably?
    • Suggested image size in the library? Can the images be really large to improve tracking or should they be smaller for faster performance?
    • What about light conditions? I understand that the place need to be bright enough, but does that light conditions affect tracking..? e.g direct sunlight vs ambient light vs tangent etc.. ?
    • Is it a good practice to have multiple images of the same object to improve recognition and tracking? Or does that confuse ARFoundation, since it will find pretty similar images? Some of the objects I'm trying to "recognise" and track contain reflective surfaces (e.g bottles, glossy badges... you name it), so under different angle of view depending if there is a reflection of light or not tracking becomes tricky. Vuforia seem to handle this rather well.
    • Can the ImageReference library be really large? Like containing hundreds or thousands of images?
    • Perhaps a newer version (5?) of ARFoudantion is in works that solves all of my tracking problems? :)
    • Does anyone have an example project with reliable image tracking under various lighting conditions that I can try out? (I already checked out the ARFoundation Examples repo on github)
    P.S: I'm not praising Vuforia, on the contrary I would like to be able to use ARFoundation instead. Btw I'm using the latest version 4.

    Any input is appreciated
  2. eulphean


    Oct 14, 2020
    Hello any response?
  3. mgear


    Aug 3, 2010
  4. FrankvHoof


    Nov 3, 2014
    ARFoundation is a 'wrapper' around the specific underlying technologies that exist for AR (e.g. ARKit, ARCore, Windows MR, etc.).
    Furthermore: the accuracy can depend on the specific device you are using (e.g. iPhone 5 vs iPhone X).

    For the most part, check the documentation of the Provider you are creating your game for.
    This includes both the Unity Documentation (for the XR Plugin) (e.g. ) and the Company Documentation (for the underlying SDK) (e.g. ).
    TreyK-47 likes this.