举左手

This commit is contained in:
tanglong 2026-03-30 15:56:17 +08:00
parent 7a88780bf8
commit d6a13751de
2 changed files with 2 additions and 3 deletions

View File

@ -185,8 +185,8 @@ namespace Wpf_AiSportsMicrospace.Views.JumpRope
int leftWaving = sportOperate.VerifyLeftWavingAction(humans); int leftWaving = sportOperate.VerifyLeftWavingAction(humans);
if (leftWaving == 5) if (leftWaving == 5)
{ {
_isCountdownStarted = true;
_mainWin.HumanFrameUpdated -= OnHumanFrameUpdated; _mainWin.HumanFrameUpdated -= OnHumanFrameUpdated;
//_mainWin.WebcamClient.StopExtract();
// 举左手逻辑,例如结束动画或退出 // 举左手逻辑,例如结束动画或退出
var newPage = new Home(); var newPage = new Home();

View File

@ -195,7 +195,6 @@ namespace Views.SquatFu
{ {
_isCountdownStarted = true; _isCountdownStarted = true;
_mainWin.HumanFrameUpdated -= OnHumanFrameUpdated; _mainWin.HumanFrameUpdated -= OnHumanFrameUpdated;
//_mainWin.WebcamClient.StopExtract();
// 举左手逻辑,例如结束动画或退出 // 举左手逻辑,例如结束动画或退出
var newPage = new Home(); var newPage = new Home();
@ -247,7 +246,7 @@ namespace Views.SquatFu
private async void StartCountdown(int start = 3) private async void StartCountdown(int start = 3)
{ {
_currentGameState = GameState.Running; //_currentGameState = GameState.Running;
_mainWin.ShowCountDownAnimation(); _mainWin.ShowCountDownAnimation();