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.
  2. Dismiss Notice

Question Is there any way to track the marker even if it is off camera?

Discussion in 'AR' started by taeyoungkimbgl, Jun 29, 2023.

  1. taeyoungkimbgl

    taeyoungkimbgl

    Joined:
    Dec 24, 2020
    Posts:
    7
    Development Environment
    Windows 10
    Unity 2021.3.23f1
    AR Foundation 5.0.6
    Google ARCore XR Plugin 5.0.6
    XR Core Utilities 2.2.1
    XR Plugin Management 4.4.0

    I am using ARTrackedImageManager.
    Is there any way to track the marker even if it is off camera?

    I have successfully tracked an image using ARTrackedImageManager.

    However, when the marker is no longer visible from the camera, the TrackingState becomes Limited.
    Is there any way to track the marker even if it is not visible from the camera?

    Any advice you can give me would be appreciated.
     
  2. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    1,834
    It's a visible tracker, identified and tracked by the way it looks. How would it be able to do that? Got any ideas?
     
    taeyoungkimbgl likes this.
  3. Doc_Martins

    Doc_Martins

    Joined:
    Jun 1, 2020
    Posts:
    13
    Once the marker has been tracked, when it becomes "limited" it still appears in the scene at it's last known position. It's not completely lost, but it won't move either, until the camera sees it again.

    One solution would be to use some additional framework to track objects in the space. This assumes that you remain relatively in the same space and you can set up hardware there. For instance, using a Vive tracker and lighthouse system (as a broad example) or creating a separate AR Foundation project and deploying in on one or more devices acting as "cameras" in the environment. Coordinating the devices is a challenge, but not necessarily impossible, assuming they remain in the same position, or have a good reference (like a large stable marker on the floor). You would need really good optics and/or a really large marker.

    Another solution (perhaps more sane) is to modify your concept or application to work around this limitation; or requiring the user to intervene, by letting them know the limitations and how to react properly.
     
    taeyoungkimbgl and andyb-unity like this.
  4. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    774
    @Doc_Martins has it. You must design a solution for your use case that fits within the known laws of physics, whether that's adding networked communication to some external tracking system or changing your use case to fit within the constraints of a single-camera setup.
     
    taeyoungkimbgl likes this.