Log in or register to post comments

Android - Cloud Recognition

July 4, 2013 - 11:56pm #1

I have downloaded the Cloud Recognition Sample and tried and the book cover and it worked. I need to use my own cloud Database to scan images and detect them, i tried changing the "kAccesskey" and "kSecretKey" but it didn't work

should i modify or delete Book.java and BookOverlayView since am not using them anymore? and what other modifation should i do other than changing the keys?

I really need help, Thank you

Android - Cloud Recognition

July 12, 2013 - 3:34am #10

Hi again,

the following article includes a very detailed explanation of all the steps involved in order to use your own cloud database and cloud targets with the CloudReco sample app:

https://developer.vuforia.com/forum/faq/cloud-reco-how-do-i-use-my-cloud-database-sample

Make sure you iterate through each step, and it should work.

Android - Cloud Recognition

July 5, 2013 - 3:36am #9

Yes i have done all of those steps and still to response from the app

Android - Cloud Recognition

July 5, 2013 - 3:24am #8

Ok, let's see:

  1. have you rebuilt the native code with ndk-build after replacing the keys in CloudReco.h ?
  2. have you refreshed the eclipse project after rebuilding with ndk-build ?
  3. are you using the client keys of your database (and not the server keys) ?

 

Android - Cloud Recognition

July 5, 2013 - 3:05am #7

I just have one last question if you may answer me

I did change the keys in the cloudReco.h of the sample, i followed all the steps on the website and i scanned a picture from the database(with a 5 star rating) but i did not get any response from the app it just keeps scanning
Where did i go wrong? and it is still detecting the book cover even though i changed the keys so it shouldn't be connected to the old database right?

would please just help me figure that out? Am In real need for help :)
Thank you

Android - Cloud Recognition

July 5, 2013 - 2:41am #6

Sure, you can change the sample app code to fit your needs; the sample code simply shows an example of how the CloudReco feature can be implemented and used, but you are free to customize it to achieve the goal of your specific application (how you implement it is up to you)

 

 

Android - Cloud Recognition

July 5, 2013 - 12:51am #5

okay i did replace the keys and wrote the metadata in this why but still the app is only able to scan and detect the book cover
i need to use it to scan and detect images from magazines, so i change the book.java class to fit my own need?

thank you for your time

Android - Cloud Recognition

July 5, 2013 - 12:32am #4

Chainging the keys is sufficient to have CloudReco work with your own Database, however, you will not see any augmentation in your 3D view (using the CloudReco sample) if you don't associate some metadata to the image targets that you have uploaded;

those metadata must contain one of the following strings:

samplebook1.json

samplebook2.json

samplebook3.json

For instance, suppose you have uploaded 2 images to your Cloud database, you could associate a metadata containing the string "samplebook1.json" to the first image target, then a metadata containing the string "samplebook2.json" to your second image.

 

Concerning the Book.java file,  You need to keep Book.java and BookOverlayView.java only in case you want to achieve the same kind of visual effect as in the sample, i.e. if your application also needs to display book covers as an augmentation on top of targets,

otherwise, if you plan to have differnet type of augmentation (such as a 3D model, like the Image Targets teapot for instance)  then you can remove those classes, of course.

 

Android - Cloud Recognition

July 5, 2013 - 12:19am #3

Thank you, well i did check both those links and tried them but still it did not work, the app keeps scanning with no response

and about the book.java class u did not answer me if i should keep them or not since i will no longer need them if i changed my database

Android - Cloud Recognition

July 5, 2013 - 12:15am #2

You posted twice the same question, I replied to you here:

https://developer.vuforia.com/forum/cloud-recognition/android-cloud-recognition

 

Log in or register to post comments