Topic locked

how to create metadata For Upload

March 19, 2013 - 1:46pm #1

 

how to create metadata For Upload

 

Thnak you  for answer

how to create metadata For Upload

June 29, 2014 - 8:48pm #11

samplebook1.json

how to create metadata For Upload

June 3, 2014 - 5:52am #10

I've read many threads and every time someone asks for a sample, the reply is "it can be whatever you want". That makes absolutely no sense

Well, it does make sense. In fact, the metadata will be returned to the App via the Vuforia API getMetadata() as a string;   once your app has got that string, it will do whatever the app is supposed to do with such piece of text.  I think here you are probably confusing two aspects:

  • what Cloud target metadata is (in general => it is just a string.. for example you could have a metadata saying "Hello, this is target XY")
  • what the Books sample does with the metadata that are specifically built for that specific sample app

You should not confuse the Books sample specific implementation with the Cloud Recognition feature in general...

The metadata used for the Targets in the Books sample simply contains a string which is one of:

samplebook1.json,  or samplebook2.json, or samplebook3.json

Once that metadata is returned to the Books sample code, it is then sent to another server which contains the Books data for the sample; this second server has nothing to do with Cloud Reco (and nothing to do with the Cloud) and is only meant to work for the Books sample and to return some data about a specific book;   this data is formatted in JSON format, but again, this is not the metadata, this is an additional piece of data returned by the sample-specific server.

One suggestion:

step through the sample code with a debugger, so to understand what the sample really does, what is the part that actually relates to Cloud Reco metadata, and what is the part that is just sample-specific...

Also, you may find this useful:

https://developer.vuforia.com/forum/faq/cloud-metadata-how-can-i-store-my-data-cloud

 

how to create metadata For Upload

June 2, 2014 - 7:08pm #9

Could someone please post a sample of a metadata file for Cloud Reco? I've read many threads and every time someone asks for a sample, the reply is "it can be whatever you want". That makes absolutely no sense. The file obviously has to have some sort of a format since it gets sorted into a string and passed through into the app. I made a very simple txt meta data file and it is not working. The wheel of death in the "Books" example just keeps spinning endlessly while it does work with the sample covers. So please someone for the love of all that is dear, post an example of a metadata file for "Books". I will forever be in your debt.

how to create metadata For Upload

May 28, 2014 - 11:15pm #8

Hi

I actually have a question along the same lines. I'm using the Books sample and want to use my own book covers instead of the built in ones, but for the life of me I can't figure out where the book metadata is called from within the example. With the VideoPlayback example, there were data sets, but I can't seem to find where the datasets are called in the Books sample

Thank you for your help in advance

how to create metadata For Upload

October 7, 2013 - 11:04pm #7

Can you show a sample for the metadata content?

how to create metadata For Upload

March 20, 2013 - 10:54pm #6

you're welcome

how to create metadata For Upload

March 20, 2013 - 10:27pm #5

very amazing explation and very simple and clear explation i like soo much Thank you for your help.

how to create metadata For Upload

March 20, 2013 - 12:40am #4

Hi, the metadata is an optional piece of information; you can upload an image without metadata and the image will still be recognized by Cloud Reco;

in general, the metadata can be any text blob of your choice; for instance a string like "Hello, this is my metadata" would be perfectly acceptable;

the actual meaning of the metadata content is purely application-specific; when an Image target is recognized through the Cloud Reco service, Vuforia will allow you to retrieve the metadata associated to the recognized target;  once you have retrieved the metadata in your application code, you can use it the way you want;

for example, in the CloudReco sample, the metadata of the sample targets (the book covers) contain strings like "samplebook1.json", or "samplebook2.json"; when the sample app retrieves the metadata of one of those recognized targets, it will use those strings to retrieve some book data from another database (which is just used for the purposes of the sample) and will then display an augmentation based on those book data.

 

Now, suppose you just want to test your own Cloud image targets (from your own Cloud DB) using the CloudReco sample, what you would need to do is to create a simple text file (for instance call it "my_metadata.txt"), then open the file and put this line into it:

samplebook1.json

Then save the file, go to the Target Managaer and upload the metadata file above (my_metadata.txt) .

 

 

how to create metadata For Upload

March 19, 2013 - 2:26pm #3

it use in target manager it have upload pic

and metadata  and i dont know how to find or Create it  for upload 

 

Thank you for Answer !!

how to create metadata For Upload

March 19, 2013 - 2:09pm #2

Could you be a bit more specific ?

 

Topic locked