First time here? Check out the FAQ!
answered 2017-09-05 20:58:01 -0600
To invert both rvec and tvec, use the following.
Mat R; Rodrigues(rvec, R); R = R.t(); tvec = -R*tvec; Rodrigues(R, rvec);