Hi, the AprilTag rotation and localization is not well thought out right now. I need to update it to export the homography matrix for use.
Rotation correction needs to be updated to also include 3x3 matrix support.
Anyway, if you pass 4 corners to the rotation correction method it will zoom in and set the frame buffer to those 4 corners streched to fill the frame. The example scripts detail what you have to do.