From 719b147f63555a6f5c29587654fa355247526351 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Fri, 26 Sep 2025 17:01:47 +0800 Subject: [PATCH] d --- Wpf_AiSportsMicrospace/Home.xaml.cs | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Wpf_AiSportsMicrospace/Home.xaml.cs b/Wpf_AiSportsMicrospace/Home.xaml.cs index e059810..d1a59ab 100644 --- a/Wpf_AiSportsMicrospace/Home.xaml.cs +++ b/Wpf_AiSportsMicrospace/Home.xaml.cs @@ -42,9 +42,6 @@ namespace Wpf_AiSportsMicrospace { InitializeComponent(); _humanPredictor = HumanPredictorFactory.Create(HumanPredictorType.SingleHigh); - _objectDetector = ObjectDetectorFactory.CreateSportGoodsDetector(); - _humanGraphicsRenderer = new HumanGraphicsRenderer(); - _humanGraphicsRenderer.DrawLabel = false; //_sports = SportBase.GetSports(); //_detectQueue = new SportDetectionQueue(); @@ -105,12 +102,14 @@ namespace Wpf_AiSportsMicrospace string uri = item.ImageUri.ToString(); Window newWindow = null; - if (uri.EndsWith("1.jpg")) - newWindow = new GroupJumpRope(); - else if (uri.EndsWith("2.jpg")) - newWindow = new GroupJumpRope(); - else if (uri.EndsWith("3.jpg")) - newWindow = new GroupJumpRope(); + //if (uri.EndsWith("1.jpg")) + // newWindow = new GroupJumpRope(); + //else if (uri.EndsWith("2.jpg")) + // newWindow = new GroupJumpRope(); + //else if (uri.EndsWith("3.jpg")) + // newWindow = new GroupJumpRope(); + + newWindow = new GroupJumpRope(); if (newWindow != null) {