Face recognition in uncontrolled conditions using sparse representation and local features