Hello Vuforia Developers, Hope you are all doing well. We are developing app an using vuforia image tracking. We have thousands of images and we want to perform certain actions when particular image is tracked. Is it possible to host all this content (*.dat & *.xml ) in my private server and use Vuforia to track image through this server (Not Vuforia Cloud API) ? Thanks in advance.
1. Do you have any reference/link/sample for how to archive that in Android using Java API
You can store your Dataset files (.dat and .xml files) on your servers pretty much like you would store any "generic" file on your servers; this is up to you and how you want to organize content on your server storage system; I am not aware of specific documentation about this, as this is a general issue, not relevant to Vuforia.
You can then download the files by connecting to your Server to download the files; you could do this by using an HttpURLConnection pointing to the URL of your server, and then save the files on the SD card (external storage) of your device; just by searching the internet, you can find several discussion threads about different techniques to do this; here are a few examples:
Finally, once you have downloaded and saved the files, you can load the Datasets from the SD card using the Dataset.Load() method with the STORAGE_ABSOLUTE parameter.
2. Can we use more than 100 images to track on a single Device Database?
No, as stated in the developer guide, a Device Database cannot include more than 100 image targets; you can only go beyond that number (e.g thousands of targets) using the Cloud Reco service.
Thank You AlessandroB,
You mentioned that we can host Device Database files on server and we can download it to our device storage for use it as tracking. Do you have any reference/link/sample for how to archive that in Android using Java API (not C++ JNI)? And Can we use more than 100 images to track on a single Device Database? Is there any way to extend Device Database Limit ?
The Cloud Recognition Service needs to use its own dedicated Cloud servers; it cannot run through your own custom server.
The .Dat and .XML datasets (also known as "Device Databases") must be located on the device storage; so, if you host any of them on a server, you will need to first download and save them into your device storage, before Vuforia can use them.
Are you sure you want to delete this message?
Are you sure you want to delete this conversation?