private Palm DetectPalm(Shape shape, Contour contour)
{
var candidates = shape.Points;
Palm palm = null;
if (this.settings.DetectCenterOfPalm && shape.PointCount > 0 && contour.Count > 0)
{
palm = this.palmFinder.FindCenter(shape.ConvexHull, contour, shape.Points);
}
return palm;
}