I have a 2 similar teapot image for 2 different targets. If these targets are kept very near such that both of them can be focused from mobile camera screen at the same and the both of these targets renders 2 teapots, I get 2 similar teapots at a time overlapping each other.

Can I in some way find that if a teapot is being overlapped by another teapot programmatically ?

Thanks.

I am using

QCAR::Matrix34F poseMatrix = trackable->getPose();

Is this correct ? If yes, with what should I compare my indices 3,7,11 of poseMatrix to find if the teapot intersects with another one ?

Also, I have

// Get the trackable:

const QCAR::Trackable* trackable = state.getActiveTrackable(tIdx);

QCAR::Matrix44F modelViewMatrix = QCAR::Tool::convertPose2GLMatrix(trackable->getPose());

in my code.

I find poseMatrix of tracable as below :

QCAR::Matrix34F poseMatrix = trackable->getPose();

How can I find poseMatrix for individual trackable ? I have 2 or more trackable at a time. Since these trackables are same(i.e. if 2 teapots, both of them are teapots ) . How would I find poseMatrix for each of them ?

Thanks.