List
Make object sticks to the world even when image tracker is lost
Posted Date: 2019-09-24 15:21     Edited Date: 2019-10-15 9:01     Writer: inactive

Please provide your development details as below;

1. SDK Version: 4.1.4
2. Development Environment: Unity-Android
3. Tracker/Scanner: Image Tracker
4. License Type Free: Free

In my project, I want to set the position of the object relative to the world, after it was detected by image tracker.
So when the image tracking is lost, the object is still there, no need to calibrate or detect again.
My image tracker could be static, not moving around.
Could anyone suggest me any ideas to resolve my problem?
Thanks.

Posted Date: 2019-09-27 7:12     Edited Date: 2019-09-27 7:12     Writer: inactive

Hello minhhoang.

When tracking is successful, remember the world value of the object and apply it to the object when tracking is lost.

Thank you.

 

Leo

Maxst Support Team

Posted Date: 2019-09-27 8:41     Edited Date: 2019-09-27 8:41     Writer: inactive

Hi there,

Can you help to specific more details? How can I get the camera pose matrix after the the tracking is lost?

Thanks,

Posted Date: 2019-10-15 9:01     Edited Date: 2019-10-15 9:01     Writer: inactive

You could just get rid of the DisableAllTrackables function in your Update() and that way even when the image isn't seen it would still be there in the scene.