This commit is contained in:
tl 2026-01-27 15:31:48 +08:00
parent 94e33c9a7e
commit dca6d924f0

View File

@ -107,17 +107,17 @@ namespace Wpf_AiSportsMicrospace.Common
}
// --- 右手挥手 ---
if (rightWrist != null && rightElbow != null)
{
int rightWaveResult = DetectHorizontalWave(
new Point(rightWrist.X, rightWrist.Y),
new Point(rightElbow.X, rightElbow.Y),
ref _lastRightWrist,
ref _rightWristDeltaX,
false);
if (rightWaveResult != (int)WavingAction.None)
return rightWaveResult;
}
//if (rightWrist != null && rightElbow != null)
//{
// int rightWaveResult = DetectHorizontalWave(
// new Point(rightWrist.X, rightWrist.Y),
// new Point(rightElbow.X, rightElbow.Y),
// ref _lastRightWrist,
// ref _rightWristDeltaX,
// false);
// if (rightWaveResult != (int)WavingAction.None)
// return rightWaveResult;
//}
}
return (int)WavingAction.None;