|
@@ -63,7 +63,7 @@ namespace bbiwarg
|
|
|
public static readonly int FingerMinNumSlices = 25 / FingerStepSize;
|
|
|
public static readonly int FingerNumSlicesForDirectionDetection = FingerMinNumSlices / 4;
|
|
|
public static readonly int FingerMaxWidth = 30;
|
|
|
- public static readonly int FingerMinWidth = 5;
|
|
|
+ public static readonly int FingerMinWidth = 2;
|
|
|
public static readonly int FingerRemoveNumSlicesForCorrection = 5;
|
|
|
public static readonly int FingerNumSlicesForRelativeDirection = FingerRemoveNumSlicesForCorrection;
|
|
|
public static readonly int FingerOutMargin = 8;
|
|
@@ -74,9 +74,9 @@ namespace bbiwarg
|
|
|
public static readonly float FingerTrackerMinSimilarityForTracking = 0.8f;
|
|
|
public static readonly int FingerTrackerNumFramesDetectedUntilTracked = 5;
|
|
|
public static readonly int FingerTrackerNumFramesLostUntilDeleted = 10;
|
|
|
- public static readonly float FingermXX = 0.0005f;
|
|
|
- public static readonly float FingermXY = 0.0005f;
|
|
|
- public static readonly float FingermYY = 0.0005f;
|
|
|
+ public static readonly float FingermXX = 0.00005f;
|
|
|
+ public static readonly float FingermXY = 0.0f;
|
|
|
+ public static readonly float FingermYY = 0.00005f;
|
|
|
public static readonly int FingerTrackerNumDirectionsForReverseCheck = 20;
|
|
|
|
|
|
// hand detection
|
|
@@ -84,6 +84,7 @@ namespace bbiwarg
|
|
|
public static readonly int HandFloodFillDownDiff = 2;
|
|
|
public static readonly int HandFloodFillUpDiff = 2;
|
|
|
public static readonly float HandMaxSize = 0.6f;
|
|
|
+ public static readonly float HandMinSize = 0.01f;
|
|
|
public static readonly float HandThumbDefectMaxDistanceToThumb = FingerMaxWidth;
|
|
|
public static readonly float HandThumbDefectMinThumbShortLengthRatio = 0.75f;
|
|
|
public static readonly float HandThumbDefectMaxThumbShortLengthRatio = 1.1f;
|
|
@@ -96,7 +97,7 @@ namespace bbiwarg
|
|
|
public static readonly int HandTrackerNumFramesDetectedUntilTracked = 2;
|
|
|
public static readonly int HandTrackerNumFramesLostUntilDeleted = 5;
|
|
|
public static readonly float HandmXX = 0.0005f;
|
|
|
- public static readonly float HandmXY = 0.0005f;
|
|
|
+ public static readonly float HandmXY = 0.0f;
|
|
|
public static readonly float HandmYY = 0.0005f;
|
|
|
|
|
|
// palm detection
|
|
@@ -106,7 +107,7 @@ namespace bbiwarg
|
|
|
public static readonly int PalmTrackerNumFramesDetectedUntilTracked = 2;
|
|
|
public static readonly int PalmTrackerNumFramesLostUntilDeleted = 5;
|
|
|
public static readonly float PalmmXX = 0.00005f;
|
|
|
- public static readonly float PalmmXY = 0.00005f;
|
|
|
+ public static readonly float PalmmXY = 0.0f;
|
|
|
public static readonly float PalmmYY = 0.00005f;
|
|
|
|
|
|
//palm Grid
|
|
@@ -122,7 +123,7 @@ namespace bbiwarg
|
|
|
public static readonly int TouchTipOutsideFactor = 7;
|
|
|
|
|
|
// touch tracking
|
|
|
- public static readonly float TouchTrackerMinSimilarity = 0.7f;
|
|
|
+ public static readonly float TouchTrackerMinSimilarity = 0.3f;
|
|
|
public static readonly int TouchTrackerNumFramesDetectedUntilTracked = 1;
|
|
|
public static readonly int TouchTrackerNumFramesLostUntilDeleted = 5;
|
|
|
public static readonly float TouchmXX = 0.003f;
|