SyncFaces

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

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

TIP:

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 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. 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 Media Server is processing a continuous video stream.

Type: synchronous

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

Example

/action=syncFaces

Response

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

_HP_HTML5_bannerTitle.htm