Image-based face recognition under varying pose and illuminations conditions