Object recognition and invariance