|
@@ -38,8 +38,8 @@ namespace bbiwarg
|
|
public static readonly int DepthImageDepthRange = 200; // <255
|
|
public static readonly int DepthImageDepthRange = 200; // <255
|
|
|
|
|
|
// edge image
|
|
// edge image
|
|
- public static readonly int EdgeImageCannyStartThreshold = 100;
|
|
|
|
- public static readonly int EdgeImageCannyLinkingThreshold = 75;
|
|
|
|
|
|
+ public static readonly int EdgeImageCannyStartThreshold = 80;
|
|
|
|
+ public static readonly int EdgeImageCannyLinkingThreshold = 60;
|
|
public static readonly int EdgeImageCannySize = 3;
|
|
public static readonly int EdgeImageCannySize = 3;
|
|
public static readonly int EdgeImageRoughNumDilationIterations = 1;
|
|
public static readonly int EdgeImageRoughNumDilationIterations = 1;
|
|
|
|
|
|
@@ -56,7 +56,7 @@ namespace bbiwarg
|
|
public static readonly int FingerContourMargin = 2;
|
|
public static readonly int FingerContourMargin = 2;
|
|
public static readonly int FingerSliceOverlapFactor = 2;
|
|
public static readonly int FingerSliceOverlapFactor = 2;
|
|
public static readonly int FingerCrippleOutFactor = 8;
|
|
public static readonly int FingerCrippleOutFactor = 8;
|
|
- public static readonly int FingerCrippleOutMinDifference = 15;
|
|
|
|
|
|
+ public static readonly int FingerCrippleOutMinDifference = 20;
|
|
|
|
|
|
// finger tracking
|
|
// finger tracking
|
|
public static readonly int FingerNumFramesDetectedUntilTracked = 5;
|
|
public static readonly int FingerNumFramesDetectedUntilTracked = 5;
|
|
@@ -91,11 +91,11 @@ namespace bbiwarg
|
|
public static readonly int PalmGridColumns = 3;
|
|
public static readonly int PalmGridColumns = 3;
|
|
|
|
|
|
// touch detection
|
|
// touch detection
|
|
- public static readonly float TouchEventMinTouchValue = 0.4f;
|
|
|
|
|
|
+ public static readonly float TouchEventMinTouchValue = 0.25f;
|
|
public static readonly int TouchEventAreaSize = 30;
|
|
public static readonly int TouchEventAreaSize = 30;
|
|
- public static readonly int TouchEventFloodfillLowDiff = 1;
|
|
|
|
|
|
+ public static readonly int TouchEventFloodfillLowDiff = 0;
|
|
public static readonly int TouchEventFloodfillHighDiff = 2;
|
|
public static readonly int TouchEventFloodfillHighDiff = 2;
|
|
- public static readonly int TouchEventTipInsideFactor = 2;
|
|
|
|
|
|
+ public static readonly int TouchEventTipInsideFactor = 1;
|
|
public static readonly int TouchEventTipOutsideFactor = 7;
|
|
public static readonly int TouchEventTipOutsideFactor = 7;
|
|
public static readonly float TouchmXX = 0.005481396f;
|
|
public static readonly float TouchmXX = 0.005481396f;
|
|
public static readonly float TouchmXY = 0.0003090923f;
|
|
public static readonly float TouchmXY = 0.0003090923f;
|