How to convert rvects to rotation matrix?

Thanks for the explanation @crackwitz

Are there some detailed steps on how to use the Rodrigues method to generate a 3x3 rotation matrix and 3x1 translation matrix using rvecs and tvecs?

I am new to OpenCV and camera calibration details.
Any help would be great, thanks.