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.
Dismiss Notice
Join us now in the Performance Profiling Dev Blitz Day 2023 - Q&A forum where you can connect with our teams behind the Memory and CPU Profilers and the Frame Debugger.

ARFoundation - ReferencePoint & Image Tracking

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

  1. Matthew_Ostil

    Matthew_Ostil

    Joined:
    Jan 17, 2014
    Posts:
    57
    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.