The coordinate systems are described HERE, in the Detailed Description section.
It's really more the translation and rotation of the coordinate system relative to the camera. Try inverting the coordinates and see if it works. The method to invert the rvec and tvec is HERE.