I've uploaded the below two images. I'm using them as ImageTargets in my project with enums assigned to each, "Wort" for the first one, "Malt" for the second.
And yes, I've checked that they were correctly assigned.
When I used my Camera to detect the images, Wort appears as Wort, which is correct, but when I try Malt, it ALSO appears as Wort. Couldn't get the Malt to show up at all. This is silly since even the colors are different.
How do I deal with this?
The following is my code in DefaultTrackableEventHandler. "id" is an enum that is unique to each ImageTarget.
I found that when I scanned Wort, it appears correctly as "Found Wart ImageTarget_Wart".
But when I turned to scan Malt, it ALSO appears, incorrectly, as "Found Wart ImageTarget_Wart" instead of "Found Maly ImageTarget_Malt".
What's going on?
public void OnTrackableStateChanged(
if (newStatus == TrackableBehaviour.Status.DETECTED ||
newStatus == TrackableBehaviour.Status.TRACKED ||
newStatus == TrackableBehaviour.Status.EXTENDED_TRACKED)
Debug.Log("Found " + this.id + " " + this.gameObject.name);
else if (previousStatus == TrackableBehaviour.Status.TRACKED &&
newStatus == TrackableBehaviour.Status.NO_POSE)
// For combo of previousStatus=UNKNOWN + newStatus=UNKNOWN|NOT_FOUND
// Vuforia is starting, but tracking has not been lost or found yet
// Call OnTrackingLost() to hide the augmentations
I just tested again and it often times detects the wrong image at the very start as well.
This is very disappointing.