Skip to content

Add Python sample to show extrinsics from camera calibration - #10354

Merged
opencv-pushbot merged 1 commit into
opencv:masterfrom
catree:add_python_sample_show_extrinsics
Dec 20, 2017
Merged

opencv-pushbot merged 1 commit into
opencv:masterfrom
catree:add_python_sample_show_extrinsics

Conversation

@catree

@catree catree commented Dec 19, 2017

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

👍

@opencv-pushbot
opencv-pushbot merged commit 59ec224 into opencv:master Dec 20, 2017
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
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.

4 participants