Search code examples
opencvimage-processingstereo-3d

How to determine Translation and Rotation Matrix using openCV


I have two images taken from a stereo camera.How can I find Translation and Rotation Matrix using OpenCv ?


Solution

  • You can calibrate your cameras by using the function below. It will give you the translation and rotation matrices:

    cv::stereoCalibrate()
    

    More information here