Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python sample to show extrinsics from camera calibration #10354

Merged

Conversation

catree
Copy link
Contributor

@catree catree commented Dec 19, 2017

This pullrequest changes

It could be useful to have something similar to Matlab showExtrinsics function to display the position of the calibration board w.r.t to the camera during the calibration step. See also this feature suggestion.

When calibrating:
./cpp-example-calibration left_imagelist.xml -w=9 -h=6 -s=0.025 -oe

To display the extrinsics:
python camera_calibration_show_extrinsics.py --calibration ../data/left_intrinsics.yml
extrinsics_1

python camera_calibration_show_extrinsics.py --calibration ../data/left_intrinsics.yml --patternCentric
extrinsics_2

Note:

  • this work currently only for the calibration.cpp sample and not with stereo_calib.cpp sample.
  • Matplotlib and Numpy are required

… with extrinsic parameters. Add camera_calibration_show_extrinsics.py, a Python sample that allows to display the extrinsics saved during the camera calibration process (cpp-example-calibration).
@catree catree force-pushed the add_python_sample_show_extrinsics branch from 17288cd to 59ec224 Compare December 20, 2017 11:06
@vpisarev vpisarev self-assigned this Dec 20, 2017
@vpisarev
Copy link
Contributor

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: documentation Documentation fix or update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants