Topic locked

Cloud Hosting

November 26, 2014 - 1:51am #1

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.

Cloud Hosting

December 4, 2014 - 6:37am #9

You're welcome.

Cloud Hosting

December 2, 2014 - 10:04pm #8

Thank you AlessandroB,
This would be very helpful to me.

Cloud Hosting

November 29, 2014 - 1:05am #7

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:

http://www.androidsnippets.com/download-an-http-file-to-sdcard-with-progress-notification

http://stackoverflow.com/questions/15758856/android-how-to-download-file-from-webserver

http://stackoverflow.com/questions/23056804/android-java-how-to-download-zip-file-from-url

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.

 

 

Cloud Hosting

November 28, 2014 - 10:41pm #6

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 ?

Cloud Hosting

November 28, 2014 - 8:11am #5

correct.

Cloud Hosting

November 28, 2014 - 5:18am #4

Thank you AlessandroB,

So if I want to track image through cloud then I must have to subscribe for Vuforia paid plan, right ? Not possible with our custom server ?

Cloud Hosting

November 28, 2014 - 2:29am #3

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.

 

 

Cloud Hosting

November 28, 2014 - 1:31am #2

Hello Any update on this ?

Topic locked