Log in or register to post comments

cloud recognition is not working

October 21, 2013 - 2:23am #1

When i launch the app it loading requesing for ImageTarget. After that it gives error:

2013-10-21 14:40:35.497 CloudReco[1277:1903] Successfully created new trackable 'android' with rating '5'.

2013-10-21 14:40:36.290 CloudReco[1277:907] #DEBUG Using NSJSONSerialization

2013-10-21 14:40:36.294 CloudReco[1277:907] #DEBUG Error parsing JSON: Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (JSON text did not start with array or object and option to allow fragments not set.) UserInfo=0x1cd8f320 {NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}

cloud recognition is not working

October 21, 2013 - 4:44am #6

Try reconfiguring the sample to run in the same way on your server to narrow down the problem.

N

cloud recognition is not working

October 21, 2013 - 4:37am #5

Im getting following error while target image:

 #DEBUG bad target found

 Completed CloudReco transaction with ID '234534ed5ab8417e86ab64825bc76469'

 Completed CloudReco transaction with ID 'add67e6e6d054fa891ed1bcbe1f64a2c'

Completed CloudReco transaction with ID '51569c9bec0c43c4bd09b706de106eb3'

 

I used book.txt file for upload metadata, inisde txt file i write android_book.json. this is my server url:

http://strappcenter.net/strapp-projects//AR/Vuforia/Cloud_Reco/android_book.json

 

cloud recognition is not working

October 21, 2013 - 4:19am #4

I think you need to spend more time reading the documentation and going through the samples.

In which Access key need to be use? client or server?

Client

 

then can you check my json code

Well, that's your job.  We are here to support Vuforia technical issues.

You will learn an enormous amount simply by stepping through the debugger in XCode.

 

N

 

cloud recognition is not working

October 21, 2013 - 4:11am #3

sample app is working. In which Access key need to be use? client or server? then can you check my json code. I use android_book.json inside .txt file. Nothing i didn't use. Is it correct?

cloud recognition is not working

October 21, 2013 - 4:02am #2

Does the sample work?

If so then it is an error with your program, most likely the JSON construction and this is something that you probably need to debug as it is nothing to do with Vuforia.

 

thanks

N

Log in or register to post comments