Start a new topic

wtc file name?

wtc file name?


I find a very strange restriction on image recognition. I'm using client recognition. I created a wtc file named "partner.wtc", and I find that I can't recognize any image with it, but if I rename it "magazine.wtc"(which is the name used in your samples), it works. I'm sure I changed the wtc file name parameter for tracker in code after I change wtc file name.

Where can I check?

Hi Jack,

Since you are working with ClientRecognition then you simply need to change the name of the wtc file inside the imageontarget.js file, 

this.tracker = new AR.ClientTracker("assets/magazine.wtc", {

onLoaded: this.worldLoaded

});

 

Based on the description you provided this should be the only reason why the wtc file you have created and named differently is not recognized. Also, you need to make sure that you are placing your new wtc file inside the assets folder or, if you are placing it somewhere else, to update the path assets/magazine.wtc to the corresponding one.

 


Thank you, 

Eva

I'm fine with magazine.wtc and the app works well. I don't care about it any more, as long as you said the name is irrelevant. Wierd though.

Thanks, Eva.
Login or Signup to post a comment