# BuildClassifier

Trains a classifier so that it can be used for image classification.

You can only run this action after creating a classifier (using the action CreateClassifier) and adding suitable object classes (using the action CreateClass).

Type: asynchronous

Parameter | Description | Required
--- | --- | ---
`classifier` | The name of the classifier that you want to train. | Yes
`numparallel` | The maximum number of threads that the action can use (default 1). | No

## Example

    /action=BuildClassifier&classifier=vehicles

## Response

This action is asynchronous, so Media Server always returns success accompanied by a token:

    <autnresponse>
      <action>BUILDCLASSIFIER</action>
      <response>SUCCESS</response>
      <responsedata>
        <token>MTAuMi4xMDQuNTQ6MTgwMDA6VFJBSU5GQUNFOjE0MjkyNzE0NjAwMDQ1Ni0xMzAyMzQ3MDI2</token>
      </responsedata>
    </autnresponse>

You can use this token with the QueueInfo action to retrieve the status of the action.

_FT_HTML5_bannerTitle.htm