Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 661 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 661 Bytes

MayaCamera

Convert to/from Maya Camera parameters and OpenCV camera matrix.

Convert to/from Maya Camera parameters and OpenCV camera matrix. This is useful if you have an OpenCV Projection Matrix (well, in the form K,R,t) and you want to generate a Maya Perspective Camera that will render the same as your perspective matrix projection. Or, if you have a Maya camera, and you want to create an OpenCV camera projection matrix to render the same view.

For now, this is in Matlab. Future release will be straight Maya Python for simple integration.

Sources: Rotation Matrix to/from Euler Angles: https://www.learnopencv.com/rotation-matrix-to-euler-angles/