I'm having trouble on cloud continuous recognition. Everytime i try to scan targets, only the first one can be scanned. I can't retrieve response for the next scans. I'm using sample code from Wikitude SDK Sample, and this is my code so far.
I try to show the response.targetInfo.name on div, but only the first scan can be shown, the rests are failed.
Is there any ways to achieve that?
Regards
A
Andreas Fötschl
said
about 7 years ago
So the code from the sample app is working as expected but using the same with your WTC makes troubles? If so please check the WTC file you created (especially the rating of the used target images) and ensure to use latest SDK version. In case you have issues with the sample app itself please post details about the used device, OS and Wikitude Version.
A
Akihiwa Yoshii
said
about 7 years ago
Yes, that's exactly the problem. the samples work fine, but the cloud continuous recognition doesn't work with my WTC.
All my target images has 2 stars rating, and it works fine on offline image recognition.
Anyway, I'll try to use latest SDK version, hope it will work somehow.
Thanks.
A
Akihiwa Yoshii
said
about 7 years ago
I have found the solution. On my previous code I haven't defined AR.Trackable2DObject. So I change my code to
... onRecognition: function onRecognitionFn(recognized, response) { if (recognized) { if (World.trackable2DObject!== undefined) { World.trackable2DObject.destroy(); }
Akihiwa Yoshii