It would be more efficient for me to identify targets by an integer ID rather than their string name. I modified the config.xml file like so:
<?xml version="1.0" encoding="UTF-8"?> <QCARConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="qcar_config.xsd"> <Tracking> <ImageTarget size="247 173" name="myTarget" id="2" /> </Tracking> </QCARConfig>
However, when I go to find the Trackable via the getId() method, 2 is not returned. Am I doing something wrong?
Is there anyway that we can get the trackabe unique id , coz i need to identify trackable object uniquely .coz will have multiple objects in same paper.