From 03d1760dd546866a80e411868140f48963dd6893 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Mon, 25 Dec 2023 18:59:19 +0300 Subject: [PATCH] Added exception warning to calibrateCamera description. --- modules/calib3d/include/opencv2/calib3d.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/calib3d/include/opencv2/calib3d.hpp b/modules/calib3d/include/opencv2/calib3d.hpp index e3630e2a8e..7b155636fe 100644 --- a/modules/calib3d/include/opencv2/calib3d.hpp +++ b/modules/calib3d/include/opencv2/calib3d.hpp @@ -1600,6 +1600,10 @@ The algorithm performs the following steps: \f$f_y\f$ (ratios of 10:1 or more)), then you are probably using patternSize=cvSize(rows,cols) instead of using patternSize=cvSize(cols,rows) in @ref findChessboardCorners. +@note + The function may throw exceptions, if unsupported combination of parameters is provided or + the system is underconstrained. + @sa calibrateCameraRO, findChessboardCorners, solvePnP, initCameraMatrix2D, stereoCalibrate, undistort