Hello Eva
Thanks a lot for pointing this out. That was a sample project from PhoneGap which, according your information, is not up to date anymore.
I was able to implement your 01_ImageTracking_2_DifferentTargets project files in my project but I do have two further questions.
I am curious about the picture in the assets folder as well. When I deleted the surfboard and the helmet in the assets folder, it was still working (the pictures still showed up). Am I right building the wtc file also includes the Augment so there is no need to have them in the assets folder as well?
Anyways, when I upload my image in the TargetManager and add an Augment and download the wtc file and just replace your "magazine.wtc" in the multipletargets.js with the generated wtc file the Augment will not show up. Not sure what I am doing wrong but I just changed the wtc file...
Thank you
this.targetCollectionResource = new AR.TargetCollectionResource("assets/ChangeToYourName", { });
Hi Eva
I tried it today a couple more times but it's still not working.
As yesterday the Wikitude example works fine but not with custom augment.
As base I used your ImageTracking_2_DifferentTargets project from GitHub (which works).
- I start the WikitudeStudioManager and upload a custom jpg file (two star rated)
- I add an augmentation which is called imageOne.png (same file, name as in your example and named imageOne.png in the code as well).
- I download the wtc file ("This will generate a WTC-file containing 1 targets for offline recognition").
- I rename the wtc file to "magazine.wtc" as in your example and as it is in the code as AR.TargetCollectionResource
- The wtc file and the imageOne.png are both in the assets folder
Basically I just took a custom image as target image and put as augmentation the same file as in your project (imageOne.png) and used the new wtc file. But unfortunately it's not working.
Thanks for your support
I am trying today to different jpg file and .wtc file create to wikitude after their upload images and .wtc file in android studio and change your image and .wtc file but image is not detecting in android studio.
Thanks
Rushabh
Hi Rushabh,
I apologize but I don't exactly understand what is your issue. Did you try to create a project in Studio and when you try to preview it, it doesn't work?
Thanks,
Eva
zbw final
Hello
I want to have multiple Images which I can scan and receive an AR information.
According to older entries here, it should be possible by now with the SDK 7.
Unfortunately I wasn't able to implement it so far. When I add multiple "AR.ClientTracker's" only the last image works.
The goal is not like in the documentation or the samples on GitHub to scan one wtc-file and receive multiple AR images.
The goal is to have different wtc-files and each wtc-file will show an AR image.
Here is my code which works so far (except there is no possibility to remove the trail watermark with our license):
Thanks a lot for any advise...