add auto binarythres fix logic strong 111
This commit is contained in:
@@ -644,8 +644,12 @@ void ArmorYoloDetectorNode::performBinaryThresCalibration(
|
||||
saveBinaryThresToYaml(calib_best_thres_);
|
||||
}
|
||||
|
||||
FYT_INFO("armor_yolo_detect", "=== Binary threshold calibration complete: {} ===", calib_best_thres_);
|
||||
FYT_INFO("armor_yolo_detect", "Calibration result saved. Set calib_binarythres=false to disable calibration mode.");
|
||||
FYT_INFO("armor_yolo_detect", "========================================");
|
||||
FYT_INFO("armor_yolo_detect", "Binary threshold calibration FINISHED!");
|
||||
FYT_INFO("armor_yolo_detect", "Selected binary_thres = {} (best_error = {:.1f})", calib_best_thres_, calib_best_error_);
|
||||
FYT_INFO("armor_yolo_detect", "binary_thres has been updated to {}", calib_best_thres_);
|
||||
FYT_INFO("armor_yolo_detect", "Result saved to yaml file.");
|
||||
FYT_INFO("armor_yolo_detect", "========================================");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -733,8 +737,12 @@ void ArmorYoloDetectorNode::performBinaryThresCalibration(
|
||||
saveBinaryThresToYaml(calib_best_thres_);
|
||||
}
|
||||
|
||||
FYT_INFO("armor_yolo_detect", "=== Binary threshold calibration complete: {} ===", calib_best_thres_);
|
||||
FYT_INFO("armor_yolo_detect", "Calibration result saved. Set calib_binarythres=false to disable calibration mode.");
|
||||
FYT_INFO("armor_yolo_detect", "========================================");
|
||||
FYT_INFO("armor_yolo_detect", "Binary threshold calibration FINISHED!");
|
||||
FYT_INFO("armor_yolo_detect", "Selected binary_thres = {} (best_error = {:.1f})", calib_best_thres_, calib_best_error_);
|
||||
FYT_INFO("armor_yolo_detect", "binary_thres has been updated to {}", calib_best_thres_);
|
||||
FYT_INFO("armor_yolo_detect", "Result saved to yaml file.");
|
||||
FYT_INFO("armor_yolo_detect", "========================================");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user