From e31a890b068c795001501e3fa304bd96361abb28 Mon Sep 17 00:00:00 2001 From: TD Date: Fri, 11 Apr 2025 11:47:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E7=89=87=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DH.Commons/Base/DetectionConfig.cs | 2 +- DHSoftware/MainWindow.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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;