Start a new topic

Multiple recognitions in one World

Hello!

I would like to ask if it is possible to create a World in which to work (at the same time) - InstantTrackable with InstantTracker, ObjectTrackable with ObjectTracker, and ImageTrackable with ImageTracker?

If this can be done, what is the best way to do it?

Thanks!


Update:

I currently have a working version, but with a few problems. The main point is that after loading "load_existing_instant_target" and adding Models to it, they appear as drawables on both ImageTrackable and ObjectTrackable, when they are recognized:

   

this.instantTrackable = new AR.InstantTrackable (this.instantTracker, {
     drawables: {
         cam: World.crossHairsBlueDrawable
     },
     onTrackingStarted: function onTrackingStartedFn () {
         // RUN with ImageTrackable -onImageRecognized
         // RUN with ObjectTrackable - onObjectRecognized
     },
     onTrackingStopped: function onTrackingStoppedFn () {
         // RUN with ImageTrackable - ImageLost
         // RUN with ObjectTrackable - onObjectLost
     },
     onError: World.onError
  });

   

Hi,


The best approach to work with Multiple Trackers in one experience is our newly released Unity Expert Edition. You can download the SDK here:


https://www.wikitude.com/download-wikitude-sdk-expert-edition-for-unity/


The download package includes a sample app and furthe details can also be found in the documentation:


https://www.wikitude.com/external/doc/expertedition/docs/CombineTrackers.html#using-multiple-trackers-in-a-scene


If you work already with the Expert Edition, please provide further details on the issue. 


Greetings

Nicola


1 person likes this

Thanks, i will check this sample app.

Login or Signup to post a comment