Inserts a new, empty, face into a database of faces.


After adding a new face, you must add images of the face using the action AddFaceImages. You must train Media Server to recognize the face using the action BuildFace.

Type: synchronous

Parameter Description Required
database The name of the database to add the face to. The database must already exist. Yes
identifier A unique identifier for the face (maximum 254 bytes). If you do not set this parameter, Media Server generates an identifier automatically. No


The following example adds a face to the politicians database:


You can use the person's name as the identifier, but all identifiers must be unique within the database:



The action returns the identifier assigned to the face:


See Also