From 33b1e76e4811c5ddd915ceac7698843f077251da Mon Sep 17 00:00:00 2001 From: rogday Date: Mon, 18 Jul 2022 12:53:04 +0300 Subject: [PATCH] fix save_frames parameter --- apps/interactive-calibration/parametersController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/interactive-calibration/parametersController.cpp b/apps/interactive-calibration/parametersController.cpp index b5a01b1ea8..09f8d337c2 100644 --- a/apps/interactive-calibration/parametersController.cpp +++ b/apps/interactive-calibration/parametersController.cpp @@ -89,7 +89,7 @@ bool calib::parametersController::loadFromParser(cv::CommandLineParser &parser) mCapParams.captureDelay = parser.get("d"); mCapParams.squareSize = parser.get("sz"); mCapParams.templDst = parser.get("dst"); - mCapParams.saveFrames = parser.has("save_frames"); + mCapParams.saveFrames = parser.get("save_frames"); mCapParams.zoom = parser.get("zoom"); if(!checkAssertion(mCapParams.squareSize > 0, "Distance between corners or circles must be positive"))