'Any similar function in python of triangulate in matlab? (reconstruct 3D points from 2D points and camera parameters)

I'm trying to reconstruct 3D points from two 2D points from left and right camera, with known camera parameters(intrinsic and extrinsic).

In matlab, there is worldPoints = triangulate(matchedPoints1,matchedPoints2,stereoParams):https://www.mathworks.com/help/vision/ref/triangulate.html

Is there a similar function in python?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source