"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

Limiting the number of recognised frame markers to one

I'm working alongside an iOS developer who's using Unity and Vuforia, only he's off sick today.

Our project uses three markers - each one triggering a different 3D model. However, we only want one model to appear at a time, even if there are multiple markers visible within the camera view.

We've managed to do this with image markers (as it seems that only one of those can be tracked at once). It might be simpler for the graphic design team if we used frame markers, but I've been led to believe that those will all be recognised and tracked simultaneously.

Is there a way to use frame markers, but still limit the number of simultaneously tracked markers to 1, so that we don't get multiple models shown?

I'm going to have another dig through the documentation but I wanted to know whether anyone on here could help me with this.

Many thanks in advance.

hi amv

In the Unity project click on the ARCamera and go to the inspector.

Look for Max Simultaneous Image Targets and you can set this number accordingly if required, so more than one image can be tracked.

The same applies to frame markers.

 

HTH

N

Hi Nalin,

My colleague is now back and we've had a go changing the setting you mentioned but it still seems to recognise several frame markers at once, projecting the models for each of them all at the same time (if they're all in view).

Any update on this?  If it is tracking one frame marker, I want it to stop looking for other frame markers.  When there's more than one frame marker in view, it throws off the orientation of the objects and the direction of gravity is messed up.