# SyncObjectClasses

Forces Media Server to synchronize its object class recognition training data with the latest training in the database.

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

TIP: Media Server automatically synchronizes with the database before starting analysis, and at regular intervals. You only need to run this action if you have disabled automatic synchronization.

If you have disabled automatic synchronization but want your object class recognition task to use the latest training, run `SyncObjectClasses` 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
--- | --- | ---
`recognizer` | The name of the recognizer to synchronize. If you do not set this parameter, Media Server loads the latest training for all recognizers. | No

## Example

    /action=SyncObjectClasses

## Response

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

_FT_HTML5_bannerTitle.htm