Topic locked

Where is the ImageTarget.cpp

April 20, 2012 - 4:43am #2

Hello, i want to set simultane tracking and need change image targets.cpp. but i can't find this file thanks for reply

Re: Where is the ImageTarget.cpp

April 20, 2012 - 5:43am #1

Hi sentio,

Since you didn't say, I'll assume you are on QCAR SDK 1.5.8 on iOS writing native iOS apps.

To set simultaneous tracking you need to add a hint in

// called after QCAR is initialised but before the camera starts
- (void) postInitQCAR
    // These two calls to setHint tell QCAR to split work over multiple
    // frames.  Depending on your requirements you can opt to omit these.
    // Here we could also make a QCAR::setHint call to set the maximum
    // number of simultaneous targets                

Find the above function and uncomment the last line - you can increase the number of simultaneous targets but be aware of performance degradation if you have complex augmentations.

Topic locked