Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

target #14

Open
connie1010 opened this issue Nov 23, 2017 · 3 comments
Open

target #14

connie1010 opened this issue Nov 23, 2017 · 3 comments

Comments

@connie1010
Copy link

hello, I am developing an augmented reality application and I am using wikitude however I would like to recognize several target (.wtc) in the js not only that recognizes one at a time, is that possible with wikitude?

@danielguttenberg
Copy link

It is possible indeed. Here is how to do it.

In short, make sure to download the latest version on the Wikitude SDK (7.1 currently) as multiple image target recognition is supported starting version 7.0, and set the maximumNumberOfConcurrentlyTrackableTargets property of your AR.ImageTracker.

The different targets you want to recognise must be in a single WTC file, as only one tracker may be active at a time.

@connie1010
Copy link
Author

connie1010 commented Nov 25, 2017

thank so much @danielguttenberg but In one section I need to have several .wtc files to recognise any target from the 10 .wtc files that I have, I've been watching the dinosaurs example (several targets) but in fact this is not the thing I need, because I don't want to recognise them all at once, but one at a time in the same js. Furthermore, in that example, they only use one .wtc file, but I have created 10 (because each one represents one sculpture in a museum or a dinosaur).

I mean, I don't want all the dinosaurs in the screen, I want them one by one but in the same screen depending on the QR that I would be focusing.

@danielguttenberg
Copy link

danielguttenberg commented Nov 27, 2017

(duplicate of #15)

In short: you want one WTC file with ten targets in it and you want to not set maximumNumberOfConcurrentlyTrackableTargets (or set it to 1). Any one of your targets will be recognised, but only one at a time.

May I ask where you got the idea of using multiple WTC for this purpose files from?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants