Now that we have all the different blocks, we are ready to build the final system. Let's say we want to overlay a pyramid on top of our cardboard box, as shown here:
Let's tilt the cardboard box to see what happens:
Looks like the pyramid is following the surface. Let's add a second target:
You can keep adding more targets and all those pyramids will be tracked nicely. Let's see how to do this using OpenCV ...