Skip to content

Commit

Permalink
Add configuration of OpenCV algorithm flag to camera intrinsic calibr…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
marip8 committed Jun 12, 2024
1 parent 7d83593 commit b7ad3b8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gui/src/camera_intrinsic_calibration_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,15 @@ void CameraIntrinsicCalibrationWidget::loadConfig(const std::string& config_file

// Use extrinsic guesses
ui_->action_use_extrinsic_guesses->setChecked(getMember<bool>(node, "use_extrinsic_guesses"));

// Optionally check for use of OpenCV algorithm
try
{
ui_->action_use_opencv->setChecked(getMember<bool>(node, "use_opencv"));
}
catch (const std::exception&)
{
}
}

void CameraIntrinsicCalibrationWidget::loadTargetFinder()
Expand Down

0 comments on commit b7ad3b8

Please sign in to comment.