Explorar o código

Changed PallThumbDefectLengthQuotient to accept more thumb defects.

Daniel Kauth %!s(int64=11) %!d(string=hai) anos
pai
achega
cceb57e67e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;