An IFS based approach for face recognition