By bartleemans
on Tue, 03/26/2013 - 12:30
So I downloaded a sample app from the vuforia developer site: CloudRecogniton-2-0-7.
I downloaded the sample code and i managed to make it work on my android device. Now I want the program to be able to do the recognition with pictures i have uploaded myself. Therefor I created a cloud database where I added pictures as targets. Using the instructions.
But how can I use this cloud database to work with my sample application?
Thanks in advance!
Connect cloud database with sample appliction vuforia
Hi, you can find the instructions here:
https://developer.vuforia.com/forum/faq/cloud-reco-how-do-i-use-my-cloud-database-sample
Connect cloud database with sample appliction vuforia
Thank you!
I followed the steps but I want to show different information than the sample books.
I have created a text file: book.txt with the following content:
Connect cloud database with sample appliction vuforia
Hi, as explained in the link I was referring to, the sample only works if you put one of those strings (i.e. one of "samplebook1.json" or "samplebook2.json" or "samplebook3.json") in your metadata file;
Connect cloud database with sample appliction vuforia
Ah i see!
But even when my file contains only "samplebook1.json" it is not working..
Connect cloud database with sample appliction vuforia
Ok, what is the tracking Rating of your targets ?
Connect cloud database with sample appliction vuforia
3/5 so the image will track in most conditions i think.
Connect cloud database with sample appliction vuforia
Ok, rating of 3 stars should be sufficient;
Connect cloud database with sample appliction vuforia
I tried it a bunch of times but still the application does not recognize the picture i have uploaded in my cloud..
Even tried a picture with a 4/5 rating but still nothing.
What am I doing wrong?
Connect cloud database with sample appliction vuforia
Are you sure that you uploaded the metadata with exactly this line:
samplebook1.json
Connect cloud database with sample appliction vuforia
Yeah my .txt clearly contains only:samplebook1.json.
Connect cloud database with sample appliction vuforia
Do you see anything relevant (error messages) in the application Logs ?
Connect cloud database with sample appliction vuforia
It prints this error message multiple times. I don't know if it is relevant
Connect cloud database with sample appliction vuforia
I would not worry about the blurriness of the Target Manager preview, provided that the rating is 3 stars or above;
just to recap:
- metadata is OK (as we already clarified)