added another mode of optimizing the mask contour using the convex hull
Changes in the optimization of countour in face_detector