Log in or register to post comments

check between image targets in a dataset and detect the specific image target scaned by user in Unity Vuforia

August 17, 2014 - 8:45pm #1

I would like to know, is it possible to load different image targets in dataset and detect which one is user showing on ARcamera in run time.For example: with a single image target object in unity and single dataset loaded on it, I am having 1 dollar image target and 10 dollar image target, and my application need to detect which target is scaned and do different action respectively.

In the given examples of vuforia, we have all the image targets placed. But for the application we develop, there will be large amount of photos and it will keep on changing, so is it possible to keep changing and tracking at runtime.

thanks in advance.

 

 

check between image targets in a dataset and detect the specific

August 20, 2014 - 8:45pm #2

Check out the ImageTargetTrackableEventHandler script that is attached to the ImageTarget prefabs. The TrackableBehaviour object has a name string member which you can use to identify the tracked target.

https://developer.vuforia.com/resources/api/unity/class_trackable_behaviour

If you want to limit tracking to one target at a time, you can set the "Max Simultaneous Image Targets" option on the ARCamera.

Log in or register to post comments