How to Use Cloud Recognition Metadata
The Vuforia Cloud Recognition Service enables new types of applications in retail and publishing. An application that uses Cloud Recognition can query a Cloud Database with camera images, and then can handle the matching results returned from the cloud to perform local detection and tracking.
Every Cloud Image Target can optionally have an associated metadata. A target’s metadata is user-defined data that can be associated with a target and is filled with custom information up to the allowed limits (up to 2 MB per target).
You can use the metadata to store additional content. This additional content relates to a specific target that your application can process using some custom logic.
Data stored in metadata
For example, your application may use the metadata to store the following items:
- A simple text message for your app to display on the screen of the device when the target is detected. For example: “Hello, I am your cloud image target XYZ, you have detected me :-)!”
- A simple URL string, for instance
http://my_server/my_3d_models/my_model_01.obj. The URL should point to a custom network location where some other content is stored, such as a 3D model, a video, an image, or any other custom data. For each different image target, your application would use such a URL to download the specific content.
- Some custom text that your application can process and use to perform specific actions. Your metadata could contain some text to represent an object in JSON format, for example:
"Age" : "35",
"Address": "10, Vuforia Avenue"
- A full 3D model, not just the URL pointing to a model on a server, but the model itself. For example, the metadata itself could embed an .OBJ 3D model, provided that the size does not exceed the limits allowed, of up to 2 MB.