Log in or register to post comments

iOS App Lags when Track Device Pose is enabled

September 2, 2019 - 5:37am #1

Hi,

weve build a prototype app which has been created with Unity 2019.1.14f1 and Vuforia 8.3.8.

When we enable "track device pose" with the tracking mode set to "positional" the app starts to lag on iPhone 6 and iPhone 7.

Were using image targets. The overlays move along with the iPhone when its being moved. When track device pose is disabled everything runs smoothly. 

We did not run any tests with iPhone 8 and 9 but with iPhone 10 there is no more lag occuring. Does the setting consume to many resources on older iPhones?

We figured out that its not possible anymore to selectively enable disable extended tracking for individual ImageTargets and enabling and disabling the device pose tracking during runtime seems to work only when we reinitialize the camera along with the vuforia framework. 

Do you have any hints how to improve the performace? 

Thanks!

iOS App Lags when Track Device Pose is enabled

September 10, 2019 - 11:26am #5

Hello,

It would also be helpful to review your 2D image target that you're using for tracking.

I'm surprised to see that Positional Tracking is occurring with the target in the camera's field of view. If the target's composition follows best practices it should still be able to leverage the target's features for tracking robustness:

https://library.vuforia.com/articles/Solution/Optimizing-Target-Detection-and-Tracking-Stability

Like @mcotora mentioned, if you don't need Positional Device Tracking best to disable it for consistent performance across platforms.

Thanks,

Vuforia Engine Support

iOS App Lags when Track Device Pose is enabled

September 9, 2019 - 6:18am #4

Hi,

I've tested the scenario with the Vuforia core sample apps and can confirm that sometimes, I also saw it moving along with the augmentation.

Device tracker can use, depending on the device 3 system in the background to facilitate the experience. iOS -> ARKit, Android ->ARCore and VISLAM -> Vuforia Engine. Usually if the device is not compatible with ARKit or ARCore, VISLAM is being used to provide the experience (if you want to use device tracker)

Older models of phones where not created with AR in scope, hence you have a limited processing power. The device tracker feature is resource intensive, especially for older phones.

Could you please tell me more about the app you are trying to make?  Maybe you will not need the device tracker.

Thank you.

Vuforia Engine Support

 

iOS App Lags when Track Device Pose is enabled

September 7, 2019 - 2:29am #3

Hi,

thank you for your reply. The proposed solution didnt help much.

It still occurs that when the "track device pose" is enabled in "positional" mode and the iOS device is being moved, the overlay moves along in the direction of the device. This happens although the imagetarget is still completely visible and the overlay is not supposed to move (see pictures the overlay should look like in the no_move image but it looks like in the device_move image).

It seems that the positional tracking is more important for the tracker than the imagetarget marker. In the "rotational" mode or with "track device pose" disabled the alignment works perfect. In that mode the overlay stays perfectly aligend on the imagetarget, even if the device is being moved very rapidly. 

Do you have any hint?

Thanks!

 

AttachmentSize
Image icon device_move.PNG525.72 KB
Image icon no_move.PNG521.64 KB

iOS App Lags when Track Device Pose is enabled

September 4, 2019 - 2:21am #2

Hi,

I believe you are running in a issue reported here: https://developer.vuforia.com/forum/unity/known-issues-unity-20191

Could you please try the proposed workaround?

Thank you.

Vuforia Engine Support

Log in or register to post comments