Update solvepnp.cpp

Clarified assert message for allowed PnP flags
pull/2697/head
PhilLab 11 years ago
parent dacf63a888
commit 4ffeb01cfd
  1. 2
      modules/calib3d/src/solvepnp.cpp

@ -94,7 +94,7 @@ bool cv::solvePnP( InputArray _opoints, InputArray _ipoints,
return true;
}
else
CV_Error(CV_StsBadArg, "The flags argument must be one of CV_ITERATIVE or CV_EPNP");
CV_Error(CV_StsBadArg, "The flags argument must be one of CV_ITERATIVE, CV_P3P or CV_EPNP");
return false;
}

Loading…
Cancel
Save