The AddFaces route's sole function is to add faces to the specified database. It does not perform searches or duplicate checks – this check should be done beforehand through the SearchFaceImage route.
If exactly the same image is sent more than once to the AddFaces route, it will return the same face ID already registered, avoiding exact duplicates.
Behavior with Different Faces of the Same Person #
When different images of the same person are sent (e.g., photos taken at different times), each one will receive a unique and distinct ID. This is expected as they are different representations of the same identity.
If an image contains multiple faces, the API will automatically select and register only the face that occupies the largest area in the image. The other faces will be ignored.