fix save_frames parameter

pull/22257/head
rogday 2 years ago
parent 1d134025a5
commit 33b1e76e48
  1. 2
      apps/interactive-calibration/parametersController.cpp

@ -89,7 +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");
mCapParams.saveFrames = parser.get<bool>("save_frames");
mCapParams.zoom = parser.get<float>("zoom");
if(!checkAssertion(mCapParams.squareSize > 0, "Distance between corners or circles must be positive"))

Loading…
Cancel
Save