A face recognition-based attendance system