Log in or register to post comments

bad target found

October 21, 2013 - 5:35am #1

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? 

bad target found

November 15, 2013 - 3:11am #6

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];

 
When I scan the image it is printing that #DEBUG bad target found in the  log. Please tell me what is wrong with the code . 
 
Thanks in advance .

bad target found

October 22, 2013 - 12:57am #5

It's working. The problem when i color image, the overlay is not showing. After i move my camera the overlay is showing. why? but in black image is it's showing

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.

bad target found

October 21, 2013 - 7:21am #2
Log in or register to post comments