Log in or register to post comments

Detecting image only once

March 5, 2018 - 6:36pm #2

Hi there,

I'm a newbie so sorry if the question is too simple J

Is there a way to stop Vuforia in continuously searching for the marker? I want to open the app, detect the marker once, load my model, and then stop the marker detection process. I don't want to lose my model when the marker is not anymore visible. 

I am using the embedded Vuforia in Unity and run tests on Android O.

Any help is appreciated.

Thanks,

Detecting image only once

March 6, 2018 - 9:00am #1

Hello puyanx,

You can accomplish this by stopping the object tracker.

Here's a quick example:

ObjectTracker objectTracker = TrackerManager.Instance.GetTracker<ObjectTracker>();

// Stop the tracker
objectTracker.Stop();

Just be aware that disabling the tracker/Vufora will likely result in the augmentation not being able to remain in the desired position.

Thanks,

Vuforia Support

 

 

Log in or register to post comments