Stereo Depth This is the basics of Triangulation. https://answers.opencv.org/question/187734/derivation-for-perspective-transformation-matrix-q/ depth = f * baseline / disparity Related Stereo Disparity