Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:kyamagu/mexopencv
Browse files Browse the repository at this point in the history
  • Loading branch information
kyamagu committed Oct 20, 2014
2 parents 42993bb + 5811334 commit 0ba8ef4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/+cv/solvePnP.cpp
Expand Up @@ -46,9 +46,9 @@ void mexFunction( int nlhs, mxArray *plhs[],
if (key=="UseExtrinsicGuess")
useExtrinsicGuess = rhs[i+1].toBool();
else if (key=="Rvec")
rvec = rhs[i+1].toMat(CV_32F);
rvec = rhs[i+1].toMat(CV_64F);
else if (key=="Tvec")
tvec = rhs[i+1].toMat(CV_32F);
tvec = rhs[i+1].toMat(CV_64F);
else if (key=="Flags")
flags = PnPMethod[rhs[i+1].toString()];
else
Expand Down
4 changes: 2 additions & 2 deletions src/+cv/solvePnPRansac.cpp
Expand Up @@ -55,9 +55,9 @@ void mexFunction( int nlhs, mxArray *plhs[],
else if (key=="MinInliersCount")
minInliersCount = rhs[i+1].toInt();
else if (key=="Rvec")
rvec = rhs[i+1].toMat(CV_32F);
rvec = rhs[i+1].toMat(CV_64F);
else if (key=="Tvec")
tvec = rhs[i+1].toMat(CV_32F);
tvec = rhs[i+1].toMat(CV_64F);
else if (key=="Flags")
flags = PnPMethod[rhs[i+1].toString()];
else
Expand Down

0 comments on commit 0ba8ef4

Please sign in to comment.