Log in or register to post comments

How to fix object above image target?

February 27, 2019 - 5:31am #1


Before I start let me say that I am new to Vuforia and Unity but with expierience with rendering and programming. So I have a basic understanding when it comes to vuforia / unity but it is not great. Consider me a newbie  ;)

My problem is that I try to build an AR-Service for companies in this area. And I would like to use Vuforia / Unity for that. So far I got everything set up pretty nicely but since AR-objects are moving on the mobile camera this whole thing doesn't feel very professional. Attached is a link to a video file so you can see what I mean. 


Now what I would like to achieve: The user should be able to look through the glass inside the building and be able to get a view from every angle. Therefore the object should be FIXED above the image target kept alive under any circumstances in the very same spot.

I searched a lot around the web and found sth about world anchors, fusion and scripts. But all of them are pretty old and I am not sure if they really cover what I would like to achieve. I would appreciate any hint you could give me!

I already tried to play around with the Clipping Planes and World Center mode.

Thank you in advance!

How to fix object above image target?

February 28, 2019 - 3:41pm #2


Some things to try:

  1. Replace Vuforia's device database in the ImageTargets scene of the Core samples with yours. This should eliminate any app issues.
  2. Replace your device database with one that uses Vuforia's Chips or Stones images. These images have properties that are optimized for tracking. If this works, then it is an issue with your target image.

Some additional things to consider:

  • 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.
  • 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, or the augmentation in that it so large that it cannot be viewed because it extends beyond the clipping plane.

Lastly, here is some guidance on optimizing targets: https://library.vuforia.com/articles/Solution/Optimizing-Target-Detection-and-Tracking-Stability


Vuforia Engine Support

Image icon chips.jpg797.07 KB
Image icon stones.jpg823.15 KB
Log in or register to post comments