CreateFaceDatabase

Creates a new, empty, database to store faces for face recognition.

Type: synchronous

Parameter Description Required
database The name for the new database (maximum 254 bytes). Yes
finetuning

(Boolean, default false) Specifies whether to enable fine-tuning. If you set this parameter to TRUE:

  • You can use the action FinetuneFaceDatabase to improve recognition accuracy.
  • You cannot move faces between this new database and other databases.
  • The face descriptors stored by Media Server in the training database require significantly more space (1.5KB per face).
No

Example

The following example creates an empty database named politicians.

/action=CreateFaceDatabase&database=politicians

Response

<autnresponse>
  <action>CREATEFACEDATABASE</action>
  <response>SUCCESS</response>
  <responsedata></responsedata>
</autnresponse>

See Also

To add faces to the database, use the action NewFace.