Face Recognition Based on Binary Template Matching