FACE DETECTION AND CLASSIFICATION BASED ON LOCAL BINARY PATTERNS