Facial-recognition technology picks individual animals out of a crowd