This commit is contained in:
tanglong 2026-03-13 16:10:14 +08:00 committed by tanglong
parent a2bb361aeb
commit 64a151654a
2 changed files with 4 additions and 4 deletions

View File

@ -167,13 +167,13 @@ namespace Wpf_AiSportsMicrospace.Common
} }
// 第二步:举手完成 // 第二步:举手完成
if (wristElapsed >= 3) if (raiseElapsed >= 1)
{ {
_raiseStartTime = null;
_wristStartTime = null; _wristStartTime = null;
_firstHandTriggered = false; _firstHandTriggered = false;
return (int)WavingAction.RaiseHand; return (int)WavingAction.RaiseHand;
} }
}
/// <summary> /// <summary>
/// 验证左手动作(目前只有举手) /// 验证左手动作(目前只有举手)

View File

@ -209,7 +209,7 @@ namespace Views.JumpLong
// }; // };
// TipBox.BeginAnimation(UIElement.OpacityProperty, fadeOutAnimation); // TipBox.BeginAnimation(UIElement.OpacityProperty, fadeOutAnimation);
// }); // });;
//}); //});
} }
@ -234,7 +234,7 @@ namespace Views.JumpLong
ImageBehavior.GetAnimationController(centerImg4).Play(); ImageBehavior.GetAnimationController(centerImg4).Play();
await Task.Delay(2100); await Task.Delay(2100);
_sport.Stop();//关闭运动 _sport.Stop();//关闭运动
_mainWin.FacialRecognitionEvent -= this.HumanPredicting; //_mainWin.FacialRecognitionEvent -= this.HumanPredicting;
count.Text = counts; count.Text = counts;
time.Text = _sport.GetFormatTimes(); time.Text = _sport.GetFormatTimes();
ShowRope(); ShowRope();