projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dacf63a
)
Update solvepnp.cpp
author
PhilLab
<PhilLab@users.noreply.github.com>
Mon, 5 May 2014 15:44:59 +0000
(17:44 +0200)
committer
PhilLab
<PhilLab@users.noreply.github.com>
Mon, 5 May 2014 15:44:59 +0000
(17:44 +0200)
Clarified assert message for allowed PnP flags
modules/calib3d/src/solvepnp.cpp
patch
|
blob
|
history
diff --git
a/modules/calib3d/src/solvepnp.cpp
b/modules/calib3d/src/solvepnp.cpp
index
698302b
..
2b2d1bd
100644
(file)
--- a/
modules/calib3d/src/solvepnp.cpp
+++ b/
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;
}