A Face Detection and Recognition System for Intelligent Vehicles