# Question about triangulatePoints function from sfm module (on opencv\_contrib)

**URL:** <https://forum.opencv.org/t/question-about-triangulatepoints-function-from-sfm-module-on-opencv-contrib/5788>\
**Category:** C++\
**Tags:** sfm\
**Created:** [October 22, 2021, 8:29am UTC](https://forum.opencv.org/t/question-about-triangulatepoints-function-from-sfm-module-on-opencv-contrib/5788 "2021-10-22T08:29:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cleprt](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@cleprt](https://forum.opencv.org/u/cleprt)\
**Post date:** [October 22, 2021, 8:29am UTC](https://forum.opencv.org/t/question-about-triangulatepoints-function-from-sfm-module-on-opencv-contrib/5788/1 "2021-10-22T08:29:45Z")

</div>

Hi everyone,

I was wondering why the cv::sfm::triangulatePoints() function handles the case numberOfViews=2 and numberOfViews \> 2 differently ?  
The first call the function “cv::sfm::triangulateDLT()” while the second “cv::sfm::triangulteNViews()”.  
By curiosity, I have tried to use triangulteNViews() with only 2 views and the result is different from the one computed with triangulateDLT() which seems weird to me.  
Could someone explain to me why the function cv::sfm::triangulateNViews can not be extended to the case of N=2 views ?

I am asking this question because I want to triangulate a point from 30 views for my current project, and I get unsatisfying result. So I am trying to understand how the cv::sfm::triangulatePoints() function works.

Thank you in advance for your help,
