Description

Use this forum for discussions relating to the cloud reco beta program

DEBUG bad target found

 

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

AlessandroB

Wed, 02/06/2013 - 17:31

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;

vincentwts

Wed, 02/06/2013 - 18:14

 

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)

METADATA

Is there an example of the meta data available for the sample app. A general idea of structure would help. I have never written a meta data file.

DavidBeard

Wed, 12/19/2012 - 03:32

The metadata that you associate with a target can be an arbitrary format. There is no required structure. The only restrition is that it can't be more than 150KB or 200KB if encoded as based64. 

Recognize two markers simultaneously using Cloud Reco

Hi,

     I want to recognize two markers simultaneously using Cloud Reco.  The demo only recognizes one marker at same time. Can you guys give me some suggestions? Thanks very much

 

DavidBeard

Tue, 12/18/2012 - 20:43

There can only be one CR target active at a time. So you can't track two simultaneously. You'll need to predefined or user defined targets if you need simultaneous tracking. 

Store Cloud Reco

Hi everyone,

I was wondering if it is possible to store the result from the could recognition or even the user-defined target. Actually I'd like to be able to use cloud reco without being connected (after a first connection, being able to use it without connection) or with the user defined target between two runs.

Is there a way ?

DavidBeard

Mon, 12/17/2012 - 16:56

Neither of those trackable types are persisted and they're not exportable. What you're describing can be accomplished using a predefined device database (aka dataset ). You can create these in the target manager and store them on the SD card.

hi!

if i accomplished this with predefined device database. For performance and data-size reasons:

up to how many targets would this be a good solution - let's say you have about 200 targets ?

Hi, Vuforia supports Device DB with up to a maximum of 100 targets. So, you should reason within that limit.

Where to put the Target ID?

Hello, I can not understand with Vuforia Cloud, for example cloudrecognition-2-0-6.unitypackage I tried to do, but I have a problem, I can not figure out where I put my target with Target ID?

DavidBeard

Fri, 12/14/2012 - 17:20

You'll need to sign-up for a free Cloud Recognition developer account and then create a Cloud Database in the Target Manager - https://developer.vuforia.com/targetmanager

Thank you, this is just the same clear, I do not understand how can I get to recognize my target from the cloud, I have carefully considered the example cloudrecognition-2-0-6.unitypackage and that makes me even more confused.

Metadata Package

what is metadata package??i successfully upload image target onto cloud database, but i dont know what is metadata package??where can i found it?

DavidBeard

Fri, 12/14/2012 - 17:33

Whatever metadata you associate with your target will be returned with its search result. The metadata package is restricted to 150KB or 200KB if provided as a base64 encoding. See: https://developer.vuforia.com/resources/dev-guide/managing-targets-cloud-database-using-developer-api

I am using unity vuforia 2-0-18, so you mean metadata package is something similar to unique id of one image? and i can input any number i want as long as it refer to base64 encoding?

The metadata doesn't need to be exclusive to a single target - multiple targets can be assigned the same metadata. And yes, you can custom define your metadata.

Exact Target Detection

Hello,

I was wondering if there is a way to get access to the bounding rectangle of the detected marker or something like that, so I could adjust my augmentations on the fly.

Thanks in Advance,Nathan

Hi Nathan

Yes this should be possible.

I posted this code up a while back for putting an overlay on a plane with the Image Targets example.

https://ar.qualcomm.at/content/drawing-rectangle-besides-marker-and-getting-its-coordinates-fill-image

VWS Management

How to get access key for VWS ? thanks 

DavidBeard

Sat, 12/08/2012 - 23:13

You should have received keys when you were admitted to the beta. If not, please PM me your email and I'll look into it. 

iOS: Camera initialization takes longer time in the first run

We have integrated vuforia-sdk-ios-2-0-18-lc in our app in such a way that, once the user downloads the app and presses Scan button after navigating through some other pages, then we start one time initialization of the vuforia sdk in the same fashion that the sample "VisualSearch" app does. We block the screen with a progress indicator untill we confirm that the camera has been initialized and at running state. 

This is how we initialize the camera using the QCARUtils.mm (from VisualSearch) - 

[qUtils createARofSize:arViewSize forDelegate:arView];

 

And, as long as we see that this following condition is not met, we block the screen -

[AAQCARutils getInstance].videoStreamStarted

 

Normally, it takes 3/4 seconds to complete the very first initialization (right after downloading the app) over 3G network (on ATT) and even less over 4G LTE (on Verizon). But, 3G on Verizon and 4G LTE on Sprint take on an average of 15/17 seconds for the same. This is a very bad user experience for the very first use of our app. Consecutive times, it initializes pretty fast even if we kill the app. 

I have investigated in our app to verify if it's our views or controllers initialization and finally, figured that it's the vuforia camera initialization which takes the longest time. 

Any idea on how to solve this problem?

DavidBeard

Mon, 11/12/2012 - 21:44

As a first step, we should get you an updated sample - please contact whomever had approved you for the Cloud Reco beta to obtain this. 

Once you have the updated sample, please retest your app and if the issue is not resolved we'll do some further debugging. 

Multiple targets in Unity VisualSearch

Hello, 

I've uploaded 2 different image targets to the server and I'm trying to make the unity app recognize them and assign a different model to each one.

How do I do that?

 

-Nathan

DavidBeard

Mon, 11/12/2012 - 00:47

You can accomplish that by customizing your search result event handling within the CloudRecoEventHandler's OnNewSearchResult method.

 

public void OnNewSearchResult(TargetFinder.TargetSearchResult targetSearchResult)

    {

NathanDortman

Mon, 11/12/2012 - 09:53

Thanks for the snippets :)

I was wondering about pre-authoring the augemntations within Unity.

How can I accomplish that in the designer without any code?

 

Thanks
Nathan

AlessandroB

Mon, 11/12/2012 - 12:43

Hi Nathan, just a side note:

if you use the Cloud Reco, your typical use case would be to have a large number of image targets uploaded on the cloud;

DavidBeard

Tue, 11/13/2012 - 18:25

The Cloud Reco Event Handler is already a component of the CloudRecogntion prefab, so you don't need to add anything new, simply modify CloudRecoEventHandler.cs.

NathanDortman

Wed, 11/14/2012 - 09:21

Hey David,

I do not see any file called CloudRecoEventHandler.cs, nor do I see ICloudRecoEventHandler used anywhere in the code, could it be that I'm using an outdated version?

Thanks,
Nathan

NathanDortman

Wed, 11/14/2012 - 16:54

Hey Nalin & David

As far as I understand (from Carla and Roy) 2.0.21 isn't available to developers yet.

Could you rephrase your answers with 2.0.18 in mind?

Thanks
Nathan

 

DavidBeard

Wed, 11/14/2012 - 21:03

Let me check on the status of the update so that you're not wasting your effort. 

For 2.0.18 you'd implement this in the EnableNewResult method of the CloudRecoBehaviour - see line 203 for instructions.