|
@@ -56,8 +56,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 = 60;
|
|
|
|
- public static readonly int EdgeImageCannyLinkingThreshold = 40;
|
|
|
|
|
|
+ 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;
|
|
|
|
|
|
@@ -66,7 +66,6 @@ namespace bbiwarg
|
|
public static readonly int FingerMaxGapCounter = 5;
|
|
public static readonly int FingerMaxGapCounter = 5;
|
|
public static readonly int FingerMaxSliceDifferencePerStep = 5;
|
|
public static readonly int FingerMaxSliceDifferencePerStep = 5;
|
|
public static readonly int FingerMinNumSlices = 25 / FingerStepSize;
|
|
public static readonly int FingerMinNumSlices = 25 / FingerStepSize;
|
|
- public static readonly int FingerNumSlicesForDirectionDetection = FingerMinNumSlices / 4;
|
|
|
|
public static readonly int FingerMaxWidth = 30;
|
|
public static readonly int FingerMaxWidth = 30;
|
|
public static readonly int FingerMinWidth = 2;
|
|
public static readonly int FingerMinWidth = 2;
|
|
public static readonly int FingerRemoveNumSlicesForCorrection = 5;
|
|
public static readonly int FingerRemoveNumSlicesForCorrection = 5;
|
|
@@ -83,7 +82,7 @@ namespace bbiwarg
|
|
public static readonly float FingermXX = 0.00005f;
|
|
public static readonly float FingermXX = 0.00005f;
|
|
public static readonly float FingermXY = 0.0f;
|
|
public static readonly float FingermXY = 0.0f;
|
|
public static readonly float FingermYY = 0.00005f;
|
|
public static readonly float FingermYY = 0.00005f;
|
|
- public static readonly int FingerTrackerNumDirectionsForReverseCheck = 20;
|
|
|
|
|
|
+ public static readonly int FingerTrackerNumDirectionsForMeanDirection = 10;
|
|
|
|
|
|
// hand detection
|
|
// hand detection
|
|
public static readonly int HandNumColors = 3;
|
|
public static readonly int HandNumColors = 3;
|
|
@@ -160,6 +159,7 @@ namespace bbiwarg
|
|
public static readonly Color FingerContourColor = Color.Red;
|
|
public static readonly Color FingerContourColor = Color.Red;
|
|
public static readonly Color FingerIDColor = Color.White;
|
|
public static readonly Color FingerIDColor = Color.White;
|
|
public static readonly Color FingerPointsPredictionColor = Color.Yellow;
|
|
public static readonly Color FingerPointsPredictionColor = Color.Yellow;
|
|
|
|
+ public static readonly Color FingerMeanDirectionColor = Color.Red;
|
|
|
|
|
|
public static readonly Color TouchEventDetectedColor = ColorDetected;
|
|
public static readonly Color TouchEventDetectedColor = ColorDetected;
|
|
public static readonly Color TouchEventTrackedColor = ColorTracked;
|
|
public static readonly Color TouchEventTrackedColor = ColorTracked;
|