ai优化7
This commit is contained in:
parent
201f903c3d
commit
621f2c348b
@ -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()
|
||||
|
||||
@ -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()
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user