Start a new topic

Toggle between image and object tracking

We want to toggle between image tracking and object tracking within the same app in Unity. What’s the best approach in terms of setting up and resetting the object and image trackers?

1 Comment

Hello Yetzer,

It is not possible to have Image and Object Tracking working at the same time since only one tracker can be active. If you enable a new tracker then we disable the current one in the background. One workaround for you would be to have two buttons to load these two experiences (architectWorlds) separately. So the user would have to select first whether we wished to recognize an image or an object and click on the corresponding button.

Another workaround would be to create a lot of image targets all around your 3D objects and switching to 3D recognition as soon one of these "special" 2D targets is recognized. These 2D targets, would be special as they would be only here to trigger 3D recognition. In this scenario, when 3D recognition will be active and nothing would be tracked for some time (~2s), you would switch back to 2D recognition. The issue with this solution is that if you create target images around the object very closely to each other it may be that the target images are having the exact same features which can cause issues with the image recognition. If you do this approach you would have to make sure to create the targets from different sides but even then we cannot guarantee that this is going to work.

Hope this information helps.


Login or Signup to post a comment