huishou
This commit is contained in:
parent
94e33c9a7e
commit
dca6d924f0
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user