Log in or register to post comments

Only extended tracking method

April 25, 2019 - 12:47am #1

 

 Hi there.

 I gently ask that how to achieve only Extended Tracking after first detection of an image target.

 

 I'm working on Unity.

 

 I tried a few ways;

   1. Disable ImageTarget object after first detection

   2. Disable scripts attached to the ImageTargets after first detection,

   3. Unregistered the TrackableEventHandler,

 

 But all the ways failed.

 

 I want to stop "Detecting" after first detecting on a target image, and want to start "Extended Tracking" for appeared objects.

 

 Could anyone help me?

 

 

 Thanks.

Only extended tracking method

May 20, 2019 - 5:43pm #5

Thanks you for your reply.

 

I wanna ask you that what is the "Short-circuit".

 

In my experience, the "DefaultTrackableEventHandler" works just do "Enable" the child objects of the detected target object.

 

Could you tell me detail about the "Short-circuit"?

 

Thanks.

Only extended tracking method

May 3, 2019 - 3:12pm #4

Hello,

You can "short-circuit" the tracking loop to do nothing if another target is detected.

The way I'd do this is by modifying DefaultTrackableEventHandler.cs in Assets/Vuforia/Scripts of the Vuforia Engine Core samples from the Unity Asset Store.

Thanks,

Vuforia Engine Support

Only extended tracking method

May 3, 2019 - 12:03pm #3

I'd also like to attempt what the OP is trying to do... Disable dynamic detection (after first detection) but keep the tracking going. My image target and the objects I am trying to augment are completely stationary; after initializing the session with the static image target I don't have a need for dynamic detection. Currently, even with Extended Tracking, the detection can get confused and disturb the augmentations unnecessarily.  Any help or pointers you can provide would be much appreciated. Thanks!

Only extended tracking method

April 26, 2019 - 11:17am #2

Hello,

There is no way to disable detection while keeping tracking enabled. That state does not exist in the Vuforia Engine tracking state machine.

Thanks,

Vuforia Engine Support

Log in or register to post comments