diff --git a/DH.Commons/Base/DetectionConfig.cs b/DH.Commons/Base/DetectionConfig.cs index 6740b6a..8b90669 100644 --- a/DH.Commons/Base/DetectionConfig.cs +++ b/DH.Commons/Base/DetectionConfig.cs @@ -509,7 +509,7 @@ namespace DH.Commons.Base private AntList _sizeTreatParamList = new AntList(); private CustomizedPoint _showLocation = new CustomizedPoint(); - private string _imageSaveDirectory= "D://PROJECTS//Images"; + private string _imageSaveDirectory= "D://PROJECTS//Images//"; private bool _saveOKOriginal = false; private bool _saveNGOriginal = false; private bool _saveOKDetect = false; diff --git a/DHSoftware/MainWindow.cs b/DHSoftware/MainWindow.cs index da71414..73c4343 100644 --- a/DHSoftware/MainWindow.cs +++ b/DHSoftware/MainWindow.cs @@ -656,6 +656,7 @@ namespace DHSoftware detectionConfig.ModelHeight = detection.ModelHeight; detectionConfig.In_lable_path = detection.In_lable_path; detectionConfig.IsEnabled = detection.IsEnabled; + detectionConfig.ImageSaveDirectory = "D://Projects//Images"; detectionConfig.ShowLocation.X = (i + 1) % 5 + (i + 1) / 5; // detectionConfig.ShowLocation.X = detection.ShowLocation.X;