"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Slow Image Target detection for large dataset (50+ targets)

Hello,

I am using Vuforia in Unity with a local database containing 140 Image Targets, each of which has a 5-star image target rating. Since updating Vuforia from 8.3.8 to 9.1.7, tracker detection has become very slow on Android devices. Sometimes it takes 10 to 20 seconds before the target is detected.

  • I've tested with printed targets in different light conditions and off my pc monitor, with the same results.
  • This is also tested on multiple different Android devices, including high-end phones.
  • This behaviour does not occur in the Unity Editor using a webcam, or on iOS, both those platforms have fast detection.
  • This behaviour did not occur when using Vuforia 8.3.8.
  • This behaviour occurs for both Mono and IL2CPP Android builds.

When reducing the number of image targets in the dataset, detection speed becomes better, but only reaches acceptable speed when going as low as 20 targets. From the documentation I understand that for datasets over 1000 targets, switching to cloud recognition is recommended, so 140 targets should not be a problem right?

I have tried upgrading to Unity 2019.4 and Vuforia 9.2.7, this yields no difference in detection speed.

Do you have any idea why target detection speed on Android is so slow?

Hi,

For Android we had a bug that was fixed with 9.1 in which if you would have build for ILCPP the loading time of the dataSet would be around ~20 seconds.

Yes, you are correct, we recommend a maxim of 1000 images for the db and the 140 should work.

Zarlin

Mon, 06/29/2020 - 17:12

In reply to by mcotora

Hello, thank you for your reply.

While I did notice increased loading time of the dataset itself, the main problem was the slow detection speed after the dataset had already been loaded. If I understand you correctly, that bug should no longer be present in Vuforia 9.1 or higher.

Hello,

Have you had any progress finding the cause of the detection delay? As it stands Vuforia is useless to me as I really need those 140 targets, which is supposed to be well within the limits of what's possible for a local target database.