diff --git a/Wpf_AiSportsMicrospace/Common/SportOperate.cs b/Wpf_AiSportsMicrospace/Common/SportOperate.cs index 7148e16..eb92982 100644 --- a/Wpf_AiSportsMicrospace/Common/SportOperate.cs +++ b/Wpf_AiSportsMicrospace/Common/SportOperate.cs @@ -56,7 +56,7 @@ namespace Wpf_AiSportsMicrospace.Common { try { - _webcamClient = WebcamClient.CreateRTSP("172.17.30.64", "admin", "yd708090", 554u); + _webcamClient = WebcamClient.CreateRTSP("172.17.30.66", "admin", "yd708090", 554u); } catch (Exception) { diff --git a/Wpf_AiSportsMicrospace/Views/JumpLong/StandingLeap.xaml.cs b/Wpf_AiSportsMicrospace/Views/JumpLong/StandingLeap.xaml.cs index c4ecfef..adc99aa 100644 --- a/Wpf_AiSportsMicrospace/Views/JumpLong/StandingLeap.xaml.cs +++ b/Wpf_AiSportsMicrospace/Views/JumpLong/StandingLeap.xaml.cs @@ -304,7 +304,7 @@ namespace Views.JumpLong var points = db.JumpLongPoints.FirstOrDefault(); var boxes = new List() { - new BoundingBox(){ + new(){ ImageWidth = frameWidth, ImageHeight = frameHeight, Label = new PredictionLabel(){ @@ -317,7 +317,7 @@ namespace Views.JumpLong ] } }, - new BoundingBox(){ + new(){ ImageWidth = frameWidth, ImageHeight = frameHeight, Label = new PredictionLabel{ diff --git a/Wpf_AiSportsMicrospace/Views/Setting/LongSetting.xaml.cs b/Wpf_AiSportsMicrospace/Views/Setting/LongSetting.xaml.cs index 42a0733..e68f759 100644 --- a/Wpf_AiSportsMicrospace/Views/Setting/LongSetting.xaml.cs +++ b/Wpf_AiSportsMicrospace/Views/Setting/LongSetting.xaml.cs @@ -62,7 +62,7 @@ namespace Wpf_AiSportsMicrospace.Views using var scope = App.AppHost.Services.CreateScope(); var db = scope.ServiceProvider.GetRequiredService(); var BaseData = await db.BasicConfig.FirstOrDefaultAsync(); - var host = "172.17.30.64"; + var host = "172.17.30.66"; var name = "admin"; var password = "yd708090"; if (BaseData != null) {