Compare commits

...

3 Commits
dev ... yanshi

Author SHA1 Message Date
ltx
3af59fb3d1 update:结算页面禁止重新开始 2026-01-27 15:37:59 +08:00
tl
dca6d924f0 huishou 2026-01-27 15:31:48 +08:00
tl
94e33c9a7e 提交 2026-01-27 15:24:02 +08:00
3 changed files with 14 additions and 14 deletions

View File

@ -56,7 +56,7 @@ namespace Wpf_AiSportsMicrospace.Common
{ {
try try
{ {
_webcamClient = WebcamClient.CreateRTSP("172.17.30.65", "admin", "yd708090", 554u); _webcamClient = WebcamClient.CreateRTSP("172.17.30.92", "admin", "yd708090", 554u);
} }
catch (Exception) catch (Exception)
{ {
@ -107,17 +107,17 @@ namespace Wpf_AiSportsMicrospace.Common
} }
// --- 右手挥手 --- // --- 右手挥手 ---
if (rightWrist != null && rightElbow != null) //if (rightWrist != null && rightElbow != null)
{ //{
int rightWaveResult = DetectHorizontalWave( // int rightWaveResult = DetectHorizontalWave(
new Point(rightWrist.X, rightWrist.Y), // new Point(rightWrist.X, rightWrist.Y),
new Point(rightElbow.X, rightElbow.Y), // new Point(rightElbow.X, rightElbow.Y),
ref _lastRightWrist, // ref _lastRightWrist,
ref _rightWristDeltaX, // ref _rightWristDeltaX,
false); // false);
if (rightWaveResult != (int)WavingAction.None) // if (rightWaveResult != (int)WavingAction.None)
return rightWaveResult; // return rightWaveResult;
} //}
} }
return (int)WavingAction.None; return (int)WavingAction.None;

View File

@ -189,7 +189,7 @@ namespace Wpf_AiSportsMicrospace.Views
} }
int rightWaving = DetectRightHandRaise(humans); int rightWaving = DetectRightHandRaise(humans);
if (rightWaving >= 3) if (rightWaving >= 3 && RankingGrid.Visibility != Visibility.Visible)
{ {
switch (rightWaving) switch (rightWaving)
{ {

View File

@ -188,7 +188,7 @@ namespace Wpf_AiSportsMicrospace.Views.JumpRope
} }
int rightWaving = DetectRightHandRaise(humans); int rightWaving = DetectRightHandRaise(humans);
if (rightWaving >= 3) if (rightWaving >= 3 && RankingGrid.Visibility != Visibility.Visible)
{ {
switch (rightWaving) switch (rightWaving)
{ {