|
@@ -160,9 +160,9 @@ namespace bbiwarg.Detectors.PalmDetection
|
|
|
float angle = (float) ((depth - start).getAngleBetween(depth - end) * 180 / Math.PI);
|
|
|
|
|
|
if (angle <= Constants.PalmMaxThumbDefectAngle &&
|
|
|
- lengthQuotient >= Constants.PalmMinThumbDefectLengthQuotient && lengthQuotient <= Constants.PalmMaxThumbDefectLengthQuotient)
|
|
|
+ lengthQuotient >= Constants.PalmMinThumbDefectLengthQuotient && lengthQuotient <= Constants.PalmMaxThumbDefectLengthQuotient &&
|
|
|
+ d.Depth >= Constants.PalmMinTumbDefectDepth)
|
|
|
{
|
|
|
- Console.WriteLine(d.Depth);
|
|
|
return d;
|
|
|
}
|
|
|
}
|