Hi, when an image target is recognized by Cloud Reco (i.e. when a matching image target is found on the Cloud DB), the SDK returns a SearchResult with some information about the recognized image target, in particular:
- the target unique ID (this is a string which uniquely identifies the target)
- the target metadata (this is a string which can represent any kind of user-defined information; the metadata is typically uploaded together with the image target into the Cloud Database)
So, typically, an application can read the metadata of the recognized target, and build some 3D augmentation based on the content of such metadata; for example, the CloudReco sample, the metadata contains some basic info about a book; based on this, the application connectes to a Book data server (which is just a special server for the sample, but it is not part of the CloudReco feature per-se) and retrieves the Book data based on the input metadata.
Once the Book data are retrieved, the sample creates a texture and displays it on top of the target.
More in general, you can think of your target metadata as the place where you can put any kind of information that you consider useful for your application;
for example, a metadata may contain the URL of a video (so that you can trigger the playback of such video), or it may contain the name of 3D model in some format (for instance "my_building.OBJ") so that the application can load that specific model and put it on top of the target.
The possibilities are endless, due to the openness of the metadata to suit any kind of scenario.