Search Unity

ARFoundation - ReferencePoint & Image Tracking

Discussion in 'AR' started by Osteel, Jun 27, 2019.

  1. Osteel

    Osteel

    Joined:
    Jan 17, 2014
    Posts:
    59
    Hi everyone,

    We're making a simple AR project in which you scan an area on the ground to spawn a skeleton (medical app). However, once the target has been recognized and placed, we really do not need to use the image for anything else.

    From my understanding, using a ReferencePoint is much more stable since it doesn't require continually trying to fix the pose of the object to the image.

    That said, how would we go about knowing when the skeleton is properly placed on the image. Simply detecting that the image was found doesn't really work since the skeleton can be elsewhere before snapping to the position.

    Thanks!
     
  2. Sutee9

    Sutee9

    Joined:
    Mar 12, 2015
    Posts:
    6
    I have a very similar problem at the moment, and should be using ARFoundation (which in my opinion is a complicated, horribly documented mess)... I can only tell you the process I am trying to follow from ARKit, where, importantly, you need a WorldTracking configuration.
    1) Use the marker to recognize the object position. Recognize at least 2-3 times to get a stable pose.
    2) Spawn an anchor at the position you just determined in step 1.
    3) Disable recognition of reference images.
    Hope it helps anyway.