Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

AR Foundation - Smoothly tracking a moving image.

Discussion in 'Handheld AR' started by ryancookyeti, Sep 13, 2019.

  1. ryancookyeti

    ryancookyeti

    Joined:
    Mar 6, 2017
    Posts:
    5
    I'm in the middle of developing an AR app that starts from tracking a label on a product box.
    It works reasonably well as long as you do not move the box. However, I would like to have image tracking be much more continuous than it currently is.

    My desired image tracking effect would look something like this:


    Is this possible with AR Foundation's implementation of image tracking?

    So far it seems when an image is tracked, AR Foundation watches for changes but at a pretty low frequency (or at least that is the appearance). If I move my own image in the real world, it takes the image tracking a number of seconds to re-track the image and update the AR position of the trackable accordingly.

    I've seen this style of continuous image tracking done before. This video above is using ARKit 2.0 so i have to imagine this is possible, but is this possible with the AR Foundation framework? Do I need to investigate switching to the native plugins? (I would rather not if I don't have to as a lot of work as already been done)?
     
    ercuesy likes this.
  2. ercuesy

    ercuesy

    Joined:
    Jul 6, 2019
    Posts:
    12
    I'm experiencing the same on an iPhone 6s. I wonder if it's got to do with processor / GPU speed?
     
  3. rsodre

    rsodre

    Joined:
    May 9, 2012
    Posts:
    189
    Using ARFoundation 3.0 on iOS, doesn't come even close to that.
    There must be some trick to make it work.
     
  4. hawken

    hawken

    Joined:
    Aug 22, 2013
    Posts:
    488
    works fine on iPhoneX, iOS11
     
  5. JakHussain

    JakHussain

    Joined:
    Oct 20, 2016
    Posts:
    110
    Anyone with a solution to this? i'm following whatever examples I can and can't seem to get the results to be as smooth as shown in the video.
     
  6. NSWell

    NSWell

    Joined:
    Jul 30, 2017
    Posts:
    26
  7. ryancookyeti

    ryancookyeti

    Joined:
    Mar 6, 2017
    Posts:
    5