List
Simultaneous Instant Tracker and Image Tracking
Posted Date: 2018-03-05 17:22     Edited Date: 2018-03-20 14:54     Writer: inactive

Hi! I need to track image but have possibility to keep object positioned in space while away from image. Is there a way to use both trackings (image and instant) simultaneously or make smooth transition form image tracking (if image target is lost) to instant and back. Or at least from image to instant. Feature similar to extended tracking in Vuforia.

Posted Date: 2018-03-06 23:13     Edited Date: 2018-03-06 23:13     Writer: kscho

Hello.

Thanks for your interest to our SDK.

Unfortunately, we didn't support simultaneous instant and image tracking, but we provide extended tracking functionality for image tracker.

Please refer to "Changing Tracking Mode" section in the link (https://developer.maxst.com/MD/doc/andr/ex/image).

Thanks.

 

- MAXST Support Team

Posted Date: 2018-03-12 12:50     Edited Date: 2018-03-12 12:50     Writer: inactive

Thank You for the answer! I hope it would be planned for the future as it is a needed heavily.

Posted Date: 2018-03-19 16:28     Edited Date: 2018-03-19 16:28     Writer: inactive

Hi again.

I am trying to switch from ImageTracking  to instant tracking issuing following to stop image tracking

        SensorDevice.GetInstance().Stop();
        TrackerManager.GetInstance().StopTracker();
        TrackerManager.GetInstance().RemoveTrackerData();

And I am trying to restart it with appropriate code from InstantTrackingSample.

 if (!startTrackerDone)
        {
            TrackerManager.GetInstance().StartTracker(TrackerManager.TRACKER_TYPE_INSTANT);
            SensorDevice.GetInstance().Start();
            startTrackerDone = true;
        }

Will it do the trick? Or If Tracker is instantiated once it can not be restarted with another type of tracking?

Will then TrackerManager.GetInstance().Destroy() help in recreating it?

Posted Date: 2018-03-20 14:54     Edited Date: 2018-03-20 14:54     Writer: inactive

Hi,

Please change your code like below.

// When to stop image tracker

TrackerManager.GetInstance().StopTracker();
TrackerManager.GetInstance().DestroyTracker();

 

// When to start instant tracker

SensorDevice.GetInstance().Start();
TrackerManager.GetInstance().StartTracker(TrackerManager.TRACKER_TYPE_INSTANT);

// When to start find surface
TrackerManager.GetInstance().FindSurface();

 

We have checked if above code works well with the 3.4.2 version.

Thanks

- Maxst support team