ai优化7

This commit is contained in:
tanglong 2026-05-13 11:34:10 +08:00
parent 201f903c3d
commit 621f2c348b
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ namespace Wpf_AiSportsMicrospace.Common
private readonly CalcBaseRule _raiseLeftHandRule;
private int _leftWaveCount = 0;
private int _rightWaveCount = 0;
private const int WaveThreshold = 3;
private const int WaveThreshold = 2;
WebcamClient _webcamClient;
private DateTime? _wristStartTime = null;
@ -49,8 +49,8 @@ namespace Wpf_AiSportsMicrospace.Common
_raiseRightHandRule = RaiseHand.RaiseRightHand();
_raiseLeftHandRule = RaiseHand.RaiseLeftHand();
_leftTracker.Amplitude = 0.3f;
_rightTracker.Amplitude = 0.3f;
_leftTracker.Amplitude = 0.22f;
_rightTracker.Amplitude = 0.22f;
}
public WebcamClient CreateRTSP()

View File

@ -34,7 +34,7 @@ namespace Wpf_AiSportsMicrospace
private WavingAction _lastGestureAction = WavingAction.None;
private DateTime _lastMenuSlideTime = DateTime.MinValue;
private bool _isNavigating;
private const int MenuSlideCooldownMs = 420;
private const int MenuSlideCooldownMs = 360;
public Home()
{