I'm making some changes to the ImageTargets.cpp from the ImageTargets example app to get to know how much time does the app need to track an object.
To have accurate results for this experiment I have thought of this:
The first time that the app tracks the object I force the app to think that it has not been found changing the state to UNKNOWN;
Then I would like to reboot all the data from the tracker, forcing it to track the object from the begining again, this point is where I start the time counter.
When the object is tracked again I should get really accurate data of how much time does the app need to track that texture.
I've tried deinitializing and initializing the tracker, but my idea dont seems to work, cause the time I get is really little, like 0,000008 secs.
Do you have any idea of how could I do it or what function should I use to clear all that data?
Thanks for your time!