By ipo1001
on Thu, 04/25/2019 - 07:47
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.
Hello,
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
I'd also like to attempt what
I'd also like to attempt what the OP is trying to do... Disable dynamic detection (after first detection) but keep the tracking going.
Hello,
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,
Thanks you for your reply.
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.