A Comprehensive Study of Face Detection and Recognition