Start a new topic

Targets recognised individually but not when combined (source included)

Targets recognised individually but not when combined (source included)

I have two images which I'm using for testing.

I've created .wtc tracking files for each image and the tracking works when I test each image separately. 

However when I combine the images into the same tracking file only one of the images is recognised.

I've followed the example of how to do multi target tracking and have had success with the surfer/biker demo.  This leads me to think it is a problem with my tracking file which I created using the target manager.

I've created a git repo to demonstrate my problem:

Images and wtc files are in:

Main javascript:

Would very much appeciate some help with this as my project depends on having several targets tracked.


Managed to get things working by resizing the images to be the same size. Is this a requirement for multi target imaging?

I don't see it mentioned anywhere.


Hi Peter,


thanks for your detailed inquiry and feedback!


The target images that go into a target collection do not have to share the same dimensions.

However it is advisable to use images with somewhat even aspect ratios (i.e. 1:1, 4:3 or 3:2) to ensure best results with our image recognition algorithms.


I had a look at your target images and the second one is very wide, which is not ideal especially when using multiple target images. I guess, in your successful attempt you chose to crop it to a more suitable aspect ratio, that most probably resulted in the successful detection of the second image.


I am glad it is working for you now.

If you have any further questions, please let me know.


Best regards,


Login or Signup to post a comment