"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Add more than two target in VideoPlayBack sample

Hello Friends,

I am beginner for  Vuforia and I want to add more than 2 target for detection .But I can't found any way to do this.Please help me if anyone can do.

 

Thank You,

iintegrator

AlessandroB

Fri, 12/28/2012 - 22:43

Hi iintegrator,

have you checked that this line of code is present in the _onQCARInitializedNative function (VideoPlayback.cpp):

QCAR::setHint( HINT_MAX_SIMULTANEOUS_IMAGE_TARGETS, 2 );

?

Hi,

 

I am able to detect 5 target but at 6th target detection app stop to work.Please solve bug.What is the reason of this?

Thank You,

iintegrator. 

Hi iintegrator,

so you are setting  QCAR::setHint( HINT_MAX_SIMULTANEOUS_IMAGE_TARGETS,  6 );  but you don't get more than 5 targets simultaneously, correct ?

Hi, the SDK should be able to handle up to 10 simultaneous targets in the same field of view; at worst I would expect that some of the targets are occasionally not detected when you go beyond 5, but a crash is not expected in such situation.

PrashantSarin

Thu, 08/25/2016 - 13:44

Hi Friends,

can any one share the code for adding more than two targets in videoPlayback sample and i want to run videos specific to the target detected in vuforia.

I am using android studio to run VideoPlayback sample.