1 | initial version |
Several input parameters to the OpenCV calls you are making will need to be modified so that they apply the the reoriented (rotated 90 degrees) input image: cameraMatrix (K), calibCoeffs (D), and imgSize must be modified to apply to the new image orientation.
See https://docs.opencv.org/master/dc/dbb/tutorial_py_calibration.html for a starting point of resources to look into.