I am using Python and OpenCV to align images using the code found here. This works fine except that OpenCV is honoring the EXIF image rotation values in the final output. Whil