I'm trying to develop an application where a marker is rendered on a LCD screen along with 2D shapes drawn in various positions around the marker.
When I point my camera to the screen, the marker should be recognized and 3D shapes should appear on top of the corresponding 2D ones (ex: a cube on top of a square) by using different transformations for each shape.
However, I noticed that most of the time the 3D shapes are not correctly aligned on top of the 2D ones.
Therefore, I was wondering whether the problem is caused from tracking the marker on screen or it's just the accuracy of marker tracking in ALVAR?
Do you have any suggestions to achieve better marker tracking and shape positioning (to have the 3D shapes and 2D align perfectly) in such a scenario?
Again, thanks a lot for your help.