Log in or register to post comments

Multitarget Tracking

August 16, 2017 - 4:59am #1


WE are developing an app that will need to track a big wall, so we decided to give MultiTarget a try, but it's not working.

If I try to track one part of the image, as a ImageTarget, it works fine, but when I change it to Multitarget, nothing happens.

My XML looks like this:


<QCARConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="qcar_config.xsd">
    <ImageTarget name="post3" size="1.000000 1.414427" />
    <ImageTarget name="post1" size="1.000000 1.000000" />
    <MultiTarget name="Dancing">
      <Part name="post1" translation="0 0 0" rotation="AD: 1 0 0 0"/>
      <Part name="post3" translation="0 .5 .72" rotation="AD: 1 0 0 90"/>

Can someone help with this?

Multitarget Tracking

August 16, 2017 - 8:57am #2

Hello itslemonade,

Is the wall you are tracking entirely flat, or does it have a corner? If it is flat, you'll want to remove the rotation value of the Part called "post3" in your XML. That rotation value is making Vuforia expect rotation in the second image.

Another thing to keep in mind is the dimensions of the images being tracked should match the aspect ratio of the dimensions defined in the TargetManager.


-Vuforia Support

Log in or register to post comments