举左手
This commit is contained in:
parent
7a88780bf8
commit
d6a13751de
@ -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();
|
||||||
|
|||||||
@ -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();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user