Log in or register to post comments

Model shaking/jittering. This isn't funny anymore. Why does this happen?

March 15, 2019 - 11:09am #1

Vuforia SDK Version: 8.0.10 -
Description with steps to reproduce: Hi

---New user to Vuforia and the setup was quite simple and fun! I like the outcome of my work with Vuforia...to an extent...
I am using Unity v2018.3.7, so Vuforia 8.0.10 came installed with it
But the model is shacking/jittering, especially when you zoom in to inspect the model.> https://imgur.com/a/LP3rCRa

---I also have another scene where the model does not jitter, but the Device Tracker does not work. Both scenes have the exact same settings!!
What I want to know is how to fix the jitter/shaking of the model (especially when zoomed in !!)

---I used the rock image target that Vuforia provides. I used the Astronaut Image target in Unity that Vuforia provides, and not needing to download anything from the website.
I have even used a book as an image target which works.
I tried different targets, set the 'Width' when making target manager to different sizes. I have spent all day, built different builds and nothing seems to work.
I have searched up every post online and watched nearly every video whilst following the exact same steps but nothing works...unless Vuforia is always like this where models shake?

Unity Settings:> https://imgur.com/i1OZyBL
Please tell me what am I doing wrong? I can't think of anything as its only 1 step for enabling this feature..?
And please can I get a reply....some threads seem quite dead

Development OS (Mac OS X, Windows, Linux): Windows -
Mobile OS and Version: Android v. 9 OxygenOS v.9.0.4 -
Mobile Device Manufacturer and Model name: OnePlus 6 -
Do the Vuforia Sample Applications show the same behavior?:

Model shaking/jittering. This isn't funny anymore. Why does this happen?

March 20, 2019 - 12:47pm #3


Lets just keep it plain and simple and use the preinstalled Vuforia templates that came with the package

This shows you what I mean: >> https://imgur.com/cplp9FF

In Unity I have used Vuforia Images: Astronaught image target. I didn't upload anything to the Vuforia Target Manager. I am using what came preinstalled with Vuforia package.

The image target size was auto set to 0.12cm, as if I am correct in understanding, 12cm height of image target is converted to 0.12 in Unity? Anyway, I did not change this setting, it auto chose itself when I selected the Astronaught.

Then you can see the image target that I printed, which is the information/size etc that Vuforia outlines. I printed this and cut it out and stuck it to some cardboard. The scale of my Kidneys in Unity is also 0.12 (but changeable)


So far nothing should be wrong, am I correct?

I build to my phone and this is the result. https://imgur.com/BlxOLXg 

I have done everything right.


Even uploading a 1024x512 Vuforia Stones  that I downloaded online doesnt do a splendid job.

Why does the size value of the target matter as its changeable in Unity...


And when you say the Entire Image is not in the camera's field of view, is that in Unity or the actual phone camera? 

Model shaking/jittering. This isn't funny anymore. Why does this happen?

March 18, 2019 - 4:31am #2


Pose jitter exists for all 2D planar targets. The magnitude of the jitter (hardly noticeable to very noticeable) can be impacted by a few factors:

  1. Always print the image that was uploaded to the portal to the exact same aspect ratio. Any stretching or altering of the image may cause tracking pose jitter. Some printers default to "stretch to fit", which can change the aspect ratio.
  2. Check the size values you are using when uploading Targets to the Vuforia Target Manager. Note there is specific language used in the dialogue box that says Vuforia uses meters as the default unit scale. Incorrect target sizes could affect either our detection/tracking algorithm
  3. Image Targets must be flat when in the camera's field of view
  4. Not enough lighting upon, and/or spectral reflections occluding the Image Target
  5. The entire target image is not in the camera's field of view. As Image Targets extract feature points from the target in real time (on a frame-by-frame basis), the more feature points the better the quality of the tracking experience. In most cases, this can be improved by enabling the Device Tracker (aka Extended Tracking): Unity Editor->Window->Vuforia Configuration->Device Tracker->Track Device Pose (box checked).

In your video I noticed that when the entire stones target is in the camera's field of view, tracking looked stable. However, when you moved closer to view the augmentation (and only a fraction of the original target can be seen) it became more jittery.


Vuforia Engine Support

Log in or register to post comments