Log in or register to post comments

Jittery model on image target

August 19, 2015 - 12:52am #1

Hi,

I've been searching for a solution and tried tips and trix in your documentation but can't get my model to stand still on the target.

My target has a 5 start rating but it doesn't seem to matter. My code is based on the Android example code and I'm using the Java version with ImageTarget and rendering i OpenGL ES.

May it be something wrong with the model and is there something I can do about this?

I'm attaching a video recording where this problem is very obvious. It seems to jitter more when moving the phone. The distance to target is about 1.5m and it doesn't matter if I use extended tracking. The phone I use in this example is LG G3 but I've tried a Samsung Note 4 as well as a Nexus 5.

Am I missing something here?

Video: https://youtu.be/NdeUPhODnwo

 

Jittery model on image target

September 3, 2015 - 5:46am #7

Thanks for your help guys.

We have applied averaging of a pre defined amount of frames/matrices in a buffer and are trying to remove matrices that stand out compared to the previous one returned from vuforia.

This introduced some lag, depending on the amout of matrcies we store in our buffer, but the jitter got better.

If someone has a nice solution in java or maybe objective c for this kind of filtering. Please share. I saw that there was a long thread about this for unity but not us native guys :)

Regards,

Kristoffer

Jittery model on image target

September 3, 2015 - 2:12am #6

Sounds like yes. If you already tried Extended Tracking, and  autofocus options, and if you really need to display very large 3D models (compared to the target size), applying some filters to smooth out the jitter is probably your best option.

Keep in mind that noise reduction filters might introduce some extra latency in the pose update, although this will vary depending on the specific filter mathemathics.

Jittery model on image target

September 2, 2015 - 6:28am #5

Yes we are using continous autofocus at the moment and "unforunately" we will be showing large models. 4-5 times bigger than the one I used in the videos.

I guess that we will have to do some kind of filter/averaging of the Vuforia Matrix then. It seems like its the only chance we have to get it stable, right?

Jittery model on image target

August 31, 2015 - 7:35am #4

From the video it appears that the distance to the target is making the target appear a little bit small in the camera view, which is probably part of the reason for the jitter.

The relatively large 3D model (compared to the target size) is then making the jitter much more noticeable.

 

One tip: are you using continuos autofocus?

Things may be slightly improved if you use continuous autofocus (although this can vary across devices, as it will depend on how robust and fast is the device camera autofocus capability); see also:

https://developer.vuforia.com/library/articles/Solution/Camera-Focus-Modes

 

Jittery model on image target

August 28, 2015 - 2:06am #3

Finally I can reply on the forum :)

So I tested with the stones target and got kind of the same problems. I'll attach a video of this as well.

 

We are planning to do some kind of filtering on the matrix returned from Vuforia but want to know if its possible to get this any better without doing that (it feels like a workaround). If someone has done it i java or such please share.

 

https://youtu.be/4wAjQO3i4uk

Jittery model on image target

August 24, 2015 - 3:40pm #2

Does the tracking improve if you use our "stones" target?

Log in or register to post comments