Extracts faces from an image