d
This commit is contained in:
parent
4ef4da7781
commit
719b147f63
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user