Selaa lähdekoodia

Changed PallThumbDefectLengthQuotient to accept more thumb defects.

Daniel Kauth 11 vuotta sitten
vanhempi
commit
cceb57e67e
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      bbiwarg/Constants.cs

+ 2 - 2
bbiwarg/Constants.cs

@@ -52,8 +52,8 @@ namespace bbiwarg
         // palm detection
         public static readonly float PalmMinDefectMidFingerLineDistance = 20; // defects with mid point ((start + end) / 2) closer than this to a finger line are removed 
         public static readonly float PalmMaxThumbDefectAngle = 110; // degree
-        public static readonly float PalmMaxThumbDefectLengthQuotient = 2.05f;
-        public static readonly float PalmMinThumbDefectLengthQuotient = 1.35f;
+        public static readonly float PalmMaxThumbDefectLengthQuotient = 2.2f;
+        public static readonly float PalmMinThumbDefectLengthQuotient = 1.2f;
         
         //palm Grid
         public static readonly int PalmGridRows = 4;