I downloaded sample app. Sample app is working fine. Then i create cloud database and uploaded image. & metadata. In sample app i changed the Accesskeys with my keys, then i change the server url: http://server.net/projects/AR/Vuforia/Cloud_Reco/ but my information having http://server/projects/AR/Vuforia/Cloud_Reco/book.json . But when i run the app, put on imageTarget i got error with bad target found. Where i did mistake?
- Sort Posts
- 5 replies
- Last post
bad target found
October 22, 2013 - 12:20am #4
If you set your server URL, you will also have to create a Database of book data which mimics the one used in the sample, or otherwise you need to adjust your sample code to build some custom augmentation out of the data that are retrieved from your server.
Be sure you fully understand what the sample code actually does, and read again this
https://developer.vuforia.com/forum/faq/cloud-reco-how-do-i-use-my-cloud-database-sample
bad target found
October 21, 2013 - 8:06am #3
I created only one target and uploaded image. I created sample.txt file inside this text file i written book.json. I downloaded keys and set in CRQCARUtils.mm. I set my server url instead of vuforia. But when i position my image it loading requesting line after that nothing will happen.
Hi Can you please tell me what is server URL and What is metadata while uploading the image in the iCloud Database ?
What I did is I have uploaded untitled.txt file and in that I have books.json. And then in the project I have changed the code like this .
//NSString *anURLString = [NSString stringWithFormat:@"%@/%@", BOOKSJSONURL, jsonFilename];
NSString *anURLString = [[NSBundle mainBundle] pathForResource:@"books" ofType:@"json"];
NSURL *anURL = [NSURL URLWithString:anURLString];