DEBUG bad target found

February 6, 2013 - 8:12am #1

 

I capture the image from your Sample app of cloud recognition. and then I upload to my cloud database via targetmanager, i set the width as 1000, this target Name is bk2. after that i run your sample app . it seems the app can detect the book cover and show requesting on the screen. after that , the requesting is gone and then no more scanning bar move on my screen. 

the log like below. can you help me ?

 

2013-02-07 00:05:43.137 CloudReco[1910:907] Video background get data 768 1024

2013-02-07 00:05:43.139 CloudReco[1910:907] APPSTATUS_CAMERA_RUNNING

2013-02-07 00:05:43.148 CloudReco[1910:907] Video background get data 768 1024

2013-02-07 00:05:43.866 CloudReco[1910:7707] Video background get data 768 1024

2013-02-07 00:05:48.628 CloudReco[1910:19af] INFO/AR(1910) 2013-02-07 00:05:48: Completed CloudReco transaction with ID 'dfa7d470fdd340a0b58df27443b3e029'

2013-02-07 00:05:48.725 CloudReco[1910:1503] INFO/AR(1910) 2013-02-07 00:05:48: ImageTracker: Successfully created dataset

2013-02-07 00:05:48.834 CloudReco[1910:1503] INFO/AR(1910) 2013-02-07 00:05:48: Successfully created ImageTarget.

2013-02-07 00:05:48.839 CloudReco[1910:1503] Successfully created new trackable 'bk2' with rating '4'.

2013-02-07 00:05:48.975 CloudReco[1910:907] #DEBUG setRenderState 0 --> 3

2013-02-07 00:05:50.351 CloudReco[1910:19bb] INFO/AR(1910) 2013-02-07 00:05:50: Completed CloudReco transaction with ID 'db7d1177c4054999bea566a90f504bda'

2013-02-07 00:05:50.466 CloudReco[1910:1503] INFO/AR(1910) 2013-02-07 00:05:50: Successfully created ImageTarget.

2013-02-07 00:05:50.468 CloudReco[1910:1503] #DEBUG bad target found

2013-02-07 00:05:50.664 CloudReco[1910:7707] #DEBUG bad target found

DEBUG bad target found

February 8, 2013 - 12:35am #4

Hi, just to acknowledge here that you solved the issue by putting the json URL in the metadata, as you mentioned to me via PM. 

DEBUG bad target found

February 6, 2013 - 10:14am #3

 

amazingly fast reply , thanks for reply , I try to change the metadata like your sample app . after cloud processing , i can retrieve the json from database . 

but it is still not working .  (the log is below)

oh yes, is it correct to replace my own client key to below varaibles ?

 

static const char* const kAccessKey = 

static const char* const kSecretKey =

 

any varaible need to be changed after i change the sample cloud database to mine or any suggestion can give me ? 

 

2013-02-07 02:01:10.728 CloudReco[2279:1703] INFO/AR(2279) 2013-02-07 02:01:10: ImageTracker: Successfully created dataset

2013-02-07 02:01:10.839 CloudReco[2279:1703] INFO/AR(2279) 2013-02-07 02:01:10: Successfully created ImageTarget.

2013-02-07 02:01:10.843 CloudReco[2279:1703] Successfully created new trackable 'bk2' with rating '4'.

2013-02-07 02:01:10.966 CloudReco[2279:7707] ########## https://ar.qualcomm.at/samples/cloudreco/json/{

title: "Cloud Recognition in Vuforia",

author: "Vincent Wong",

average rating: "4",

# of ratings: "41",

list price: "43.99",

your price: "43.15",

targetid: "aee5d9b6182f4ce3806583d3102a13c8",

thumburl: "https://developer.vuforia.com/samples/cloudreco/thumbs/01_thumbnail.png",

bookurl: "http://www.outdoorleaders.com/wp-content/uploads/2010/12/Book-cover-thumbnail.png"

}

2013-02-07 02:01:10.983 CloudReco[2279:907] #DEBUG setRenderState 0 --> 3

2013-02-07 02:01:12.788 CloudReco[2279:a45b] INFO/AR(2279) 2013-02-07 02:01:12: Completed CloudReco transaction with ID 'fb0b3a443e954547a4f5b715241f3e8f'

2013-02-07 02:01:12.905 CloudReco[2279:1903] INFO/AR(2279) 2013-02-07 02:01:12: Successfully created ImageTarget.

2013-02-07 02:01:12.907 CloudReco[2279:1903] #DEBUG bad target found

2013-02-07 02:01:13.033 CloudReco[2279:7707] #DEBUG bad target found

DEBUG bad target found

February 6, 2013 - 9:31am #2

Hi, 

the CloudReco sample app retrieves a Book cover (and thus renders it in 3D as a texture on the target) based on the Metadata associated with the target that has been recognized;

since here you use a "custom" image target, the metadata (which are also created by you in this case) will probably not contain any valid data that the sample App can use for retrieving a valid book cover;

so, it is normal that you see the "requesting" message and then nothing happens;

it is also normal (in the sample) that the scanbar disappears at this stage; in practice, it means that your target has been recognized and is now being tracked (although you don't see any book cover in the scene, due to the reason I explained above).

However, in the screen you should see a small "cross" icon (on the top right usually); if you click on that icon, the scanbar will appear again, and the scanning process will restart.

I hope this makes sense.

 

 

Log in or register to post comments