Bläddra i källkod

Changed PallThumbDefectLengthQuotient to accept more thumb defects.

Daniel Kauth 11 år sedan
förälder
incheckning
cceb57e67e
1 ändrade filer med 2 tillägg och 2 borttagningar
  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;