Ask Your Question

Revision history [back]

NVM I had a mistake in my Code.

There are 2 ways to do it. In my case all I had to do: Add my offset as object point in the function cv::projectPoints(...).

Other possibility: - Get rotation Matrix with cv::Rodrigues - tvec = rotMat * Offset + tvec - use cv::projectPoints where objectPoint is the origin (0,0,0) (Be aware you are changeing the tvec !!!)