Merge pull request #22298 from rogday:tutorial_fix

pull/22344/head
Alexander Smorkalov 2 years ago
commit cde18648dc
  1. 2
      apps/interactive-calibration/main.cpp
  2. 8
      doc/tutorials/calib3d/interactive_calibration/interactive_calibration.markdown

@ -41,7 +41,7 @@ const std::string keys =
"{d | 0.8 | Min delay between captures}" "{d | 0.8 | Min delay between captures}"
"{pf | defaultConfig.xml| Advanced application parameters}" "{pf | defaultConfig.xml| Advanced application parameters}"
"{save_frames | false | Save frames that contribute to final calibration}" "{save_frames | false | Save frames that contribute to final calibration}"
"{zoom | 1 | Zoom factor applied to the image}" "{zoom | 1 | Zoom factor applied to the preview image}"
"{force_reopen | false | Forcefully reopen camera in case of errors}" "{force_reopen | false | Forcefully reopen camera in case of errors}"
"{help | | Print help}"; "{help | | Print help}";

@ -40,6 +40,7 @@ Supported patterns:
- Asymmetrical circle pattern - Asymmetrical circle pattern
- Dual asymmetrical circle pattern - Dual asymmetrical circle pattern
- chAruco (chessboard with Aruco markers) - chAruco (chessboard with Aruco markers)
- Symmetrical circle pattern
Description of parameters Description of parameters
------ ------
@ -55,9 +56,9 @@ All of this parameters are passed to application through a command line.
- -v=[filename]: get video from filename, default input -- camera with id=0 - -v=[filename]: get video from filename, default input -- camera with id=0
- -ci=[0]: get video from camera with specified id - -ci=[0]: get video from camera with specified id
- -flip=[false]: vertical flip of input frames - -flip=[false]: vertical flip of input frames
- -t=[circles]: pattern for calibration (circles, chessboard, dualCircles, chAruco) - -t=[circles]: pattern for calibration (circles, chessboard, dualCircles, chAruco, symcircles)
- -sz=[16.3]: distance between two nearest centers of circles or squares on calibration board - -sz=[16.3]: distance between two nearest centers of circles or squares on calibration board
- -dst=[295] distance between white and black parts of daulCircles pattern - -dst=[295] distance between white and black parts of dualCircles pattern
- -w=[width]: width of pattern (in corners or circles) - -w=[width]: width of pattern (in corners or circles)
- -h=[height]: height of pattern (in corners or circles) - -h=[height]: height of pattern (in corners or circles)
- -of=[camParams.xml]: output file name - -of=[camParams.xml]: output file name
@ -65,6 +66,9 @@ All of this parameters are passed to application through a command line.
- -vis=[grid]: captured boards visualization (grid, window) - -vis=[grid]: captured boards visualization (grid, window)
- -d=[0.8]: delay between captures in seconds - -d=[0.8]: delay between captures in seconds
- -pf=[defaultConfig.xml]: advanced application parameters file - -pf=[defaultConfig.xml]: advanced application parameters file
- -force_reopen=[false]: Forcefully reopen camera in case of errors. Can be helpful for ip cameras with unstable connection.
- -save_frames=[false]: Save frames that contribute to final calibration
- -zoom=[1]: Zoom factor applied to the preview image
### Advanced parameters: ### Advanced parameters:

Loading…
Cancel
Save