Open topic with navigation

# List Classifiers and Object Classes

To list the classifiers that you have created, and check their status (whether they need training), use the following procedure.

To list classifiers

- Run the action `ListClassifiers`:

      http://localhost:14000/action=ListClassifiers&trainingoptions=TRUE

  HPE Media Server returns a list of classifiers that you have created. For example:

      <autnresponse>
        <action>LISTCLASSIFIERS</action>
        <response>SUCCESS</response>
        <responsedata>
          <classifier>
            <classifier>vehicles</classifier>
            <state>STALE</state>
            <numclasses>3</numclasses>
            <trainingoptions>
              <trainingoption>
                <key>classifiertype</key>
                <value>bayesian</value>
              </trainingoption>
            </trainingoptions>
          </classifier>
        </responsedata>
      </autnresponse>

  The `state` element specifies whether the classifier needs training. If this element contains the value "stale", train the classifier using the action `BuildClassifier`. The other possible states are `training`, `trained`, and `failed`.

  The `numclasses` element specifies the number of object classes in the classifier.

  If you set the `trainingoptions` parameter to `true`, the response also includes training options that you have set for the classifier.

To list the object classes in a classifier

- Run the action `ListClasses`:

      http://localhost:14000/action=ListClasses&classifier=vehicles
                                               &metadata=true
                                               &imagelabels=true

  HPE Media Server returns a list of object classes in the specified classifier.

  If you set the action parameter `imagelabels` to `true`, HPE Media Server returns the labels of images associated with each object class.

  If you set the action parameter `metadata` to `true`, HPE Media Server returns the metadata you have added to each object class.

© 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