In Apple-land, it's done that for ages: group via face, put name to face, group by geolocation etc. I think it's started recognizing my dogs too. Happens all device side.
Google photos does amazing work with this. It's face people detection is so good it recognises baby photos all the way to adulthood as the same person.