mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Save Frames option for interactive calibration tool
The option to save all frames that contribute to final calibration result. Useful for dataset collection and further offline tuning.
This commit is contained in:
@@ -89,6 +89,7 @@ bool calib::parametersController::loadFromParser(cv::CommandLineParser &parser)
|
||||
mCapParams.captureDelay = parser.get<float>("d");
|
||||
mCapParams.squareSize = parser.get<float>("sz");
|
||||
mCapParams.templDst = parser.get<float>("dst");
|
||||
mCapParams.saveFrames = parser.has("save_frames");
|
||||
|
||||
if(!checkAssertion(mCapParams.squareSize > 0, "Distance between corners or circles must be positive"))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user