Log in or register to post comments

Android built fail

July 11, 2019 - 2:17pm #1

I've built an AR app using Unity 2019 and Vuforia 8.3, in the app there are 2 image targets and an object target. In editor all targets work well, when built to android the object target does not work. Any possible explanations? Tips? Guides?

Android built fail

July 16, 2019 - 1:14pm #2

Hello,

Difficult to say what the issue could be. Here are some tips when capturing your Object Target:

Most issues with Object Targets can be traced to the creation of the .od file using the Vuforia Object Scanner. Be sure to follow the scanner app instructions: https://library.vuforia.com/articles/Training/Vuforia-Object-Scanner-Users-Guide, paying close attention to step #8 in the article.

  • When creating the .od file, was the model scanned in an environment that was free of background details which may have introduced features that were not part of the model? Scanning in 'cluttered' environments can introduce false detection/tracking points.
  • When creating the .od file, were there any specular reflections on the model introduced by environmental lighting? Scanning objects that have reflective surfaces under direct lighting can introduce areas with no detection/tracking points.
  • Are you using the recommended devices referenced on the tool download page?: https://developer.vuforia.com/downloads/tool

In our labs, we utilize four primary strategies for creating an optimal Object Target scanning environment:

  1. All background surfaces are colored at 18% gray. An easy, off-the-shelf solution is to buy bed sheets near this color and drape everything in the environment that could be seen by the scanning device's camera.
  2. No direct lighting. We use light boxes and/or diffusers to eliminate direct lighting upon the object and minimize any spectral reflections.
  3. Utilize a 360 turntable to re-orient the device. This is especially helpful when you've set your environment to near ideal conditions within a limited area. You can spin the model and scan in 360 degrees without having to move around it.
  4. Be sure that the environment in which you’re testing (via the Object Scanner app ‘test mode’) is the same in which you’re verifying tracking (via the sample code). Environmental factors such as lighting, shadows, spectral reflections, etc. can negatively affect tracking performance, so awareness of how the environment is interacting with your model is important for qualifying performance.

Lastly, be sure to use meters and the default scale as this can also impact the feature's accuracy and performance.

HTH.

Thanks,

Vuforia Engine Support

Log in or register to post comments