Log in or register to post comments

Start tracking

April 24, 2013 - 4:01am #1

Hi,

I created a simple Android app based on the ImageTargets sample. I want to track images and acquire their pose. I am not interested in rendering anything.

So far, I called QCAR.init() on the Java side as long as the return value is less than 100 (just as in the sample). On the native side, I initialized an ImageTracker, loaded the sample dataset (StonesAndChips.xml), activated this set, started the tracker and registered an update callback. Every function call returns successfully.

However, the update callback is never called. I also tried to get the state via QCAR::Renderer::getInstance().begin(). But there are no trackables in there (getNumTrackableResults() == 0).

Is there anything more I have to initialize?

Nico

Start tracking

April 24, 2013 - 7:07am #4

you're welcome

Start tracking

April 24, 2013 - 6:39am #3

Thanks, that's it.

Start tracking

April 24, 2013 - 4:09am #2

Hi,

you also need to start the camera.

 

Log in or register to post comments