Face detection method for public safety surveillance based on convex grouping