Open topic with navigation

# SyncFaces

Forces HPE Media Server to synchronize its face training with the latest data in the database.

When you train HPE Media Server, the database is updated with new training data. However, HPE Media Server does not use this training in analysis operations until it has synchronized with the database.

Tip: HPE Media Server automatically synchronizes with the database. You can configure the interval between each synchronization using the configuration parameter SyncInterval. You can also configure whether HPE Media Server synchronizes with the database before beginning an analysis operation, by setting the configuration parameter SyncDatabase.

You might use this action if you want to run analysis immediately after training. HPE Media Server continues running `process` actions while synchronization takes place, so to ensure a face recognition task uses the latest training, run `SyncFaces` and wait for the synchronization to complete before starting the task with the Process action.

You can also use this action to synchronize with the latest training while HPE Media Server is processing a continuous video stream.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the face database that you want HPE Media Server to synchronize with. If you do not set this parameter, HPE Media Server synchronizes with all face databases. | No

## Example

    /action=syncFaces

## Response

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

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm