1 | initial version |
Conventions in OpenCV 3.2 seem to be a little different to the other answers. I've used this with success:
import cv2
fs = cv2.FileStorage("calibration.xml", cv2.FILE_STORAGE_READ)
fn = fs.getNode("Camera_Matrix")
print (fn.mat())