Skip to content

Added type check for solvePnPGeneric | Issue: #16049 - #16405

Merged
alalek merged 4 commits into
opencv:3.4from
ganesh-k13:bugfix/solvepnp-crash
Jan 23, 2020
Merged

alalek merged 4 commits into
opencv:3.4from
ganesh-k13:bugfix/solvepnp-crash

Conversation

@ganesh-k13

Copy link
Copy Markdown
Contributor

This pullrequest changes

Added default type instead of reprojectionError.type()

Refers #16049

@ganesh-k13

Copy link
Copy Markdown
Contributor Author

@ganesh-k13 ganesh-k13 changed the title Added type check Added type check for solvePnPGeneric | Issue: #16049 Jan 22, 2020
@alalek

alalek commented Jan 22, 2020

Copy link
Copy Markdown
Member
  • without run.py:
PYTHONPATH=${OPENCV_SRC_DIR}/modules/python/test ./setup_vars.sh python ${OPENCV_SRC_DIR}/modules/calib3d/misc/python/test/test_solvepnp.py
  • with run.py:
OPENCV_PYTEST_FILTER=test_solvepnp ./setup_vars.sh python ${OPENCV_SRC_DIR}/modules/ts/misc/run.py -a -t python3

Comment thread modules/calib3d/src/solvepnp.cpp Resolved
@ganesh-k13

Copy link
Copy Markdown
Contributor Author

I'll add tests shortly.

@asmorkalov asmorkalov added the pr: needs test New functionality requires minimal tests set label Jan 23, 2020
@ganesh-k13
ganesh-k13 requested a review from alalek January 23, 2020 08:16

@alalek alalek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for contribution 👍

@alalek
alalek merged commit 504cd8a into opencv:3.4 Jan 23, 2020
@ganesh-k13

Copy link
Copy Markdown
Contributor Author

Hi @alalek, thanks for the help. This test won't be triggered by the CI right, do we add a UT for this?

@alalek

alalek commented Jan 23, 2020

Copy link
Copy Markdown
Member

Test is triggered in "python2" / "python3" steps. See here.

@ganesh-k13

Copy link
Copy Markdown
Contributor Author

Oh ok thanks.

@alalek alalek mentioned this pull request Jan 28, 2020
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Added type check for solvePnPGeneric | Issue: opencv#16049

* Added type check

* Added checks before type fix

* Tests for 16049

* calib3d: update solvePnP regression check (16049)
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