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.
Could you please share the database with us to test it? if you think the data shouldn't be shared here, please pm the download link.
Also, could you please let me know the device you used for testing? Model, os version?
Thank you.
Vuforia Engine Support