Topic has a solution and is locked
Log in or register to post comments

How to switch between multiple Cloud Databases and Device Database?

April 6, 2017 - 8:25am #1
Topic solved

The only answers related to this question are a couple of years old and don't seem to match the Vuforia 6.2 API at all.

I'm building an application in which I have to switch between multiple cloud databases. How is this done? Just setting the keys in the cloudrecobehavior doesn't seem to be the right way.

At some points I will even have to switch to device Databases so I can track multiple targets at once. How would I approach this?

Any Help is highly appreciated, thanks!

How to switch between multiple Cloud Databases and Device Database?

December 15, 2017 - 2:06am #6

Hi @dm3d and all, I have a very similar question to what's been discussed in this thread.

As it's been mentioned before, using Cloud DBs one can only track one trackable at a time. However, for the application I'm currently developing I always need to track two trackables at a time. My question is: once the first trackable stored on the cloud DB has been detected, is it possible to make a copy of it in a device DB? This would allow me to do what I'm looking for.

Also, I would like to ask whether it's possible to test the cloud functionality without having to buy a license (exclusively for development, obviously not for commercial use). I basically need to make sure it's technically possible to do certain things with Vuforia. I'm using Vuforia for Unity.

Thanks a million in advance for your help!

How to switch between multiple Cloud Databases and Device Database?

December 15, 2017 - 2:06am #5

Hi @dm3d and all, I have a very similar question to what's been discussed in this thread.

As it's been mentioned before, using Cloud DBs one can only track one trackable at a time. However, for the application I'm currently developing I always need to track two trackables at a time. My question is: once the first trackable stored on the cloud DB has been detected, is it possible to make a copy of it in a device DB? This would allow me to do what I'm looking for.

Also, I would like to ask whether it's possible to test the cloud functionality without having to buy a license (exclusively for development, obviously not for commercial use). I basically need to make sure it's technically possible to do certain things with Vuforia. I'm using Vuforia for Unity.

Thanks a million in advance for your help!

How to switch between multiple Cloud Databases and Device Database?

April 11, 2017 - 2:33pm #4

Yes, substitute ObjectTracker when you find older mentions of ImageTracker.

Only one Cloud DB can be active in an app at a time. For similar looking targets which might be recognized as the same, the way to distinguish between them for Device DB and Cloud DB would be to separate them into their own DBs. For Device DBs, you can just create as multiple DBs as you need without additional cost. You may want to experiment first with Device DBs and see if the outcome is what you want before trying to set it up in Cloud DBs.

How to switch between multiple Cloud Databases and Device Database?

April 11, 2017 - 7:08am #3

Thank you for your answer @mediabit. The answer in your link is five years old, the imageTracker is the objectTracker by now, but it might work.

However, as Vuforia Sales just informed me, there is no way to set up more than one cloud database per app. Do you know if it would work to set up fake apps and just use the corresponding database in my main app? Anyways, this would become very expensive for me as I need to structure my targets in 16 databases because I have hundreds of targets that just have slight changes so they might be mixed up. So in the end, I would need 17 Licenses for my app while I'm not even maxing out the reco limit on my first one. This is ridiculous... and it's a bit of a bad time to switch the engine :-/

 

 

 

 

How to switch between multiple Cloud Databases and Device Database?

April 7, 2017 - 10:33am #2

Hello,

This should be accurate for switching cloud database keys: https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/switching-cloud-database-access-key-and-secret-key

You can use both cloud and device databases simultaneously, but with cloud targets your are limited to a single, active trackable at any given time (the last one returned from the cloud reco operation). This limitation does not exists with targets in the device database which are all active once the dataset is loaded and activated.

Thanks.

Log in or register to post comments