Code with face recognition implemented