d
This commit is contained in:
parent
4ef4da7781
commit
719b147f63
@ -42,9 +42,6 @@ namespace Wpf_AiSportsMicrospace
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
_humanPredictor = HumanPredictorFactory.Create(HumanPredictorType.SingleHigh);
|
_humanPredictor = HumanPredictorFactory.Create(HumanPredictorType.SingleHigh);
|
||||||
_objectDetector = ObjectDetectorFactory.CreateSportGoodsDetector();
|
|
||||||
_humanGraphicsRenderer = new HumanGraphicsRenderer();
|
|
||||||
_humanGraphicsRenderer.DrawLabel = false;
|
|
||||||
|
|
||||||
//_sports = SportBase.GetSports();
|
//_sports = SportBase.GetSports();
|
||||||
//_detectQueue = new SportDetectionQueue();
|
//_detectQueue = new SportDetectionQueue();
|
||||||
@ -105,12 +102,14 @@ namespace Wpf_AiSportsMicrospace
|
|||||||
string uri = item.ImageUri.ToString();
|
string uri = item.ImageUri.ToString();
|
||||||
Window newWindow = null;
|
Window newWindow = null;
|
||||||
|
|
||||||
if (uri.EndsWith("1.jpg"))
|
//if (uri.EndsWith("1.jpg"))
|
||||||
newWindow = new GroupJumpRope();
|
// newWindow = new GroupJumpRope();
|
||||||
else if (uri.EndsWith("2.jpg"))
|
//else if (uri.EndsWith("2.jpg"))
|
||||||
newWindow = new GroupJumpRope();
|
// newWindow = new GroupJumpRope();
|
||||||
else if (uri.EndsWith("3.jpg"))
|
//else if (uri.EndsWith("3.jpg"))
|
||||||
newWindow = new GroupJumpRope();
|
// newWindow = new GroupJumpRope();
|
||||||
|
|
||||||
|
newWindow = new GroupJumpRope();
|
||||||
|
|
||||||
if (newWindow != null)
|
if (newWindow != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user