Search Unity

Is it possible to track the number of a TargetImage instance ?

Discussion in 'Vuforia' started by Kiupe, Jul 4, 2018.

  1. Kiupe

    Kiupe

    Joined:
    Feb 1, 2013
    Posts:
    528
    Hello,

    I'm working on a game in which the player has to to reach a numerical value by playing cards. A same card can have multiple copies, so for example the card of value 1 can have 10 copies, the card of value 2 ten copies too etc.

    How can I proceed to track those card, each card can be a TargetImage, and track if a card is added or removed ?

    At first I thought to have one TargetImage by type of card and increment a counter each time a TargetImage is tracked and decrement the counter when a TargetImage is lost. But after a simple test with one TargetImage and only one copy of the card that I put in front of the camera and then get out of the camera FOV the counter kept increasing.

    Question is : is it possible to track at the same time different TargetImage and the number of the same TargetImage ?

    Thanks
     
  2. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548