diff --git a/src/Initializer.cc b/src/Initializer.cc index 3ee9cfdf..96ad5485 100644 --- a/src/Initializer.cc +++ b/src/Initializer.cc @@ -716,7 +716,7 @@ bool Initializer::ReconstructH(vector &vbMatchesInliers, cv::Mat &H21, cv: } - if(secondBestGood<0.75*bestGood && bestParallax>=minParallax && bestGood>minTriangulated && bestGood>0.9*N) + if(secondBestGood>0.75*bestGood && bestParallax>=minParallax && bestGood>minTriangulated && bestGood>0.9*N) { vR[bestSolutionIdx].copyTo(R21); vt[bestSolutionIdx].copyTo(t21);