Log in or register to post comments

Extremely slow loading of image targets when used in own project

December 28, 2016 - 6:41pm #1

I'm experiencing a very strange issue. I have a dataset file that contains about 200 images for recognition. I've downloaded the Android sample applications, and modified the ImageTargets.java file to point to my dataset xml. When I run the application, it loads up the Image Targeting/camera screen after a few seconds no problems. However, when I copy the Vuforia SDK/files into my own project and load up the exact same dataset file, it takes almost 2 minutes before the dataset file is loaded and the camera view appears. Can you think of anything obvious that would cause this to happen?

Extremely slow loading of image targets when used in own project

December 28, 2016 - 8:02pm #2

I just fixed this issue by going into the top-level build.gradle file and changing the classpath to:

classpath 'com.android.tools.build:gradle:2.1.3'

It was originally using 2.2.0. Not sure why this would cause a difference in load time between 5 seconds and almost 2 minutes, but it works!

Log in or register to post comments