In the official opencv python bindings (which you get by executing
pip install opencv-python), you only get cv2.triangulatePoints which only triangulates a 2d point from two views and not for any arbitrary number of views.
There is indeed a cv2.triangulatePoints function in the C++ implementation of opencv that takes the pose matrices of any number of views and the corresponding 2d point in each view as input and gives you the 3d point that corresponds to the 2d point in each of the views.
Why isn’t this part of the official opencv python release? Is there a bug in it? Please let me know since I am thinking of using it instead of the triangulation function from pymvg (which also works but I rather use as few external libraries as I could).