triangulatePoints
triangulatePoints is a function often found in computer vision and computational geometry libraries. Its primary purpose is to determine the 3D coordinates of a point in space given its projections in two or more camera views. This process relies on the principle of triangulation, which uses the geometric relationships between camera positions, orientations, and the observed points in their respective images to solve for the unknown 3D location.
To perform triangulation, the function typically requires several inputs. These include the intrinsic and extrinsic parameters
The underlying mathematical principle involves projecting rays from each camera center through the observed 2D image