Log in or register to post comments

Vuforia Video Playback is flickering in Unity app?

June 19, 2019 - 10:36am #1

I am developing an augmented reality application using Vuforia(8.1.10) in Unity. Everything is working perfectly fine but the video is flickering very often. In fact, every time when the camera moves slightly the video is wavering or shaking like hell. It is shaking quite often. This is reducing the augmented reality experience.

I am attaching quad to ImageTarget. And in the quad, I am attaching the video player. The video is a chroma key video. To remove chroma, I am using the shader.

What should I do to make the video playback more stable? Any help or suggestion would be much appreciated. Thanks!

Vuforia Video Playback is flickering in Unity app?

June 20, 2019 - 11:58am #2


This sounds like it could be an issue with the quality of the tracking, which under typical circumstances is related to target design, the printed target itself, or the environment in which you're testing.

For target design, here is an article on best practices: https://library.vuforia.com/articles/Solution/Optimizing-Target-Detection-and-Tracking-Stability. Always print the image that was uploaded to the portal to the exact same aspect ratio. Any stretching or altering of the image will cause it not to be detected. Some printers default to "stretch to fit", which can change the aspect ratio.

Additional tips:

  1. Image Targets must be flat when in the camera's field of view
  2. Not enough lighting upon, and/or spectral reflections occluding the Image Target
  3. 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).

Here are some suggestions for isolating this issue:

  1. Try running Vuforia's Core samples (Image Targets - free on the Asset Store) to see if this is related to your script and/or your target design
  2. Replace your targets with Vuforia Engine's "stones" or "chips" images. These are proven to provide good tracking in favorable environments

If your still unclear on what's going on, share a video recording and we can take a look.


Vuforia Engine Support

Log in or register to post comments