Hi Francesco,
Why are you using extended tracking? In order to continue tracking when the target image is not visible in the camera frame anymore, or to draw multiple models at the same time?
Our SDK can only track one image at the same time. Extended tracking does not help you in that matter.
`stopExtendedTracking` is usually a function that you call once the user explicitly want's to stop extended tracking. It's nothing you would connect with one of our other callbacks. Calling this function stops any ongoing extended tracking that is happening at the moment and starts a new image recognition phase. Once image recognition found a new target in the camera frame, it starts tracking this one and just this one.
I'm still not sure what you want to achieve, so simply drop me a line what your intention is and I'm happy to help you from that point further.
Best regards,
Andreas
Dear Eva,
thanks for this answer, what I want is to call stopExtendedTracking on imageLost for start to tracking other image, the problem is that if I call it on imageLost don't change anything, infact if I scan other image nothing happens, no modal is show.
If I call it on onExtendedTrackingQualityChanged I'm able to scan other images and see the mdoels but the models appear and disappear, appear and disappear, appear and disappear....I think that this is caused because onExtendedTrackingQualityChanged is called a lot of time and then every time it was called I stop and restart the model rendering, and then I get this flickering (the model appear and disappear, appear and disappear, ecc....)
Later I insert a video!
Francesco Venica
Hi,
I'm using javascript iOS SDK for create an augmented reality app that show some model based on different images.
Using the examples I'm able to show one model, my problem is that I'm not able to show 2 different models based on 2 different image.
Using my code I can see only the model of FIRST tracked image, if I try to track the other image nothing appear, only the first work.
If I track the second image I see the second image but I'm not able to see the first model. This is my code:
where is the error?