List
Object Tracking return OnTrackSuccess and OnTrackFail every tick
Posted Date: 2018-08-09 12:18     Edited Date: 2018-08-13 1:51     Writer: inactive

Hello,

1. SDK Version: 3.5.2
2. Development Environment: Unity-Android/IOS
3. Tracker/Scanner:Object Tracker
4. License Type: Free


i am using Object Tracking to bring information about what my camera see, but the Object Trackable Behavior act in a weird way, as you can see in the images below, the script keeps returning OnTrackingSuccess and OnFail every tick when the object is being tracked.

There is a way to check any State? It just cant be success and fail at the same time :S.

 

And Here is the code : https://pastebin.com/cyUFx8zH

Posted Date: 2018-08-13 1:51     Edited Date: 2018-08-13 1:51     Writer: inactive

I'm sorry for making you waiting.

Because our sdk doesn't provide current state of trackable you need to store trackable's state by yourself.

The reason why OnTrackFail called continuously is by DisableAllTrackables function call in ObjectTrackableBehaviour.cs.

Our team has been investigated the convenient way but could not find proper way yet.

Thank you

Jack, SDK support team