Search Unity

Question Resources for image tracking with rotation

Discussion in 'AR' started by douglassophies, Jun 19, 2021.

  1. douglassophies

    douglassophies

    Joined:
    Jun 17, 2012
    Posts:
    141
    I just posted a similar question about why my implementation of image tracking that also moves with the rotation does not work. https://forum.unity.com/threads/rotate-with-tracked-image.1128308/

    This is the desired result:

    The first few seconds of the time stamp show him move his hand slightly and the AR follows.

    But the more obvious question i should probably be asking is why there is no tutorial or samples online for this? It makes me think its a limitation of AR Foundation itself in being able to track rotations quickly enough to be worthwhile doing?

    I found many scale and rotate tutorials based on user input, but that is not much help - i need it to follow the tracked image and it does not seem to be as simple as linking them as per my other question.

    It looked like the Unity samples might have what i needed - an image tracking demo where the AR object is childed to the tracking image https://github.com/Unity-Technologies/arfoundation-samples/tree/main/Assets/Scenes/ImageTracking. However, the quality is awful. It takes forever to pick up the image and is not tracking as well as my own solution. I was not sure if it was even rotating because the tracking was so laggy. I never investigated much further, but what are other peoples experiences with it?
     
  2. haardyy3

    haardyy3

    Joined:
    Jan 25, 2023
    Posts:
    2
    I am looking for the same. Did you find any solution around this?
     
  3. unity_andrewc

    unity_andrewc

    Unity Technologies

    Joined:
    Dec 14, 2015
    Posts:
    223
    ARCore and ARKit have different performance characteristics, are you using ARCore (Android) or ARKit (Apple)? And builds will be slower in Debug, did you build in that configuration or in Release/Master?
     
    andyb-unity likes this.
  4. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,026
    there are some tips to improve tracking: https://forum.unity.com/threads/image-detection-working-very-poorly.1423866/