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) {