Skip to content

Fix solvePnPRansac and Nx3 1-channel input when N=5#14447

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
catree:fix_issue_14423
May 27, 2019
Merged

Fix solvePnPRansac and Nx3 1-channel input when N=5#14447
opencv-pushbot merged 1 commit intoopencv:3.4from
catree:fix_issue_14423

Conversation

@catree
Copy link
Copy Markdown
Contributor

@catree catree commented Apr 29, 2019

Merge with opencv_extra: opencv/opencv_extra#609

This pullrequest changes

resolves #14423

Try to uniform input shape for:

  • solvePnPRansac
  • solvePnP
  • undistortPoints
  • projectPoints

else
{
// non-planar structure. Use DLT method
CV_CheckGE(count, 6, "DLT algorithm needs at least 6 points for pose estimation from 3D-2D point correspondences.");
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

… of points is 5. Try to uniform the input shape of projectPoints and undistortPoints.
@catree catree force-pushed the fix_issue_14423 branch from 6d8ffdd to 7ed858e Compare May 22, 2019 12:19
Copy link
Copy Markdown
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done! Thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants