Log in or register to post comments

Using Over 1,000 Image Targets In One Scene

March 26, 2018 - 5:26pm #1

Hi all,

 

I'm currently working on a project that requires thousands of Image Targets to be stored in a database. At runtime, the project should be able to recognize multiple image targets at once. My initial research led me to believe that using Vuforia's Cloud Database service would be perfect, until I discovered that Vuforia's cloud tracker only supports tracking one Image Target at a time.

As a result I have been building my project to use Device Databases, which worked perfectly until I had around 2,000 image targets in my project. At this point, Vuforia's Update() method takes up around 50% of the app's CPU usage and the app's framerate tanks to below 15 fps (This was recorded with Unity's profiler with no other scripts or objects enabled in the scene other than the ones required to get Vuforia running).



I have tried changing the tracking quality in Vuforia's settings, but that had no effect. Is there any way to increase Vuforia's performance in a case like this?

Using Over 1,000 Image Targets In One Scene

April 3, 2018 - 9:37am #6

There is no limit to the number of image targets you place in a database, but the more targets you add the longer the load and detection times will be. Would you be willing to give me more information on what you are trying to accomplish with your app so that I might be able to help you figure out a solution? You're welcome to direct message me if you do not want to discuss it publicly.

Thanks,

Vuforia Support

Using Over 1,000 Image Targets In One Scene

April 2, 2018 - 5:29pm #5

Hi Strasza,

Currently the size of each database is around 300 items, although we plan on reconstructing them to be 1,000 images each. I was under the impression that a device database can not hold more than 1,000 items? Would putting them into one database increase our performance?

Using Over 1,000 Image Targets In One Scene

March 30, 2018 - 5:10pm #4

Hello mwimmersive,

What's the average size of each database? Have you tested with all the images in a single database as well?

Thanks,

Vuforia Support

Using Over 1,000 Image Targets In One Scene

March 30, 2018 - 11:06am #3

Yeah, we are using multiple device databases, but they all need to be activated at the same time without user interaction...



I was starting to suspect that Vuforia might not be the best solution for us. Thanks for the reply!

Using Over 1,000 Image Targets In One Scene

March 26, 2018 - 6:07pm #2

I assume you are using multiple device databases?  Are you loading and activating all the databases at the same time?  If not can you section them into categories and have a user interaction that switches between them and only loads what you need?  You might be testing the limits of Vuforia and might have to look elsewhere for a solution. 



 

Log in or register to post comments