Open topic with navigation

# ListDetectionClasses

Returns a list of classes in a specified object detector. The action can also return the metadata associated with each class.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`detector` | The name of the detector for which you want to list the classes. | Yes
`maxresults` | The maximum number of classes to return in the response. | No
`metadata` | A Boolean value (default false) that specifies whether to return the metadata associated with each class. | No
`start` | The starting point for the list when you set the `maxresults` parameter. For example, to start listing classes from the tenth class in the detector, set `start=10`. The entries in the detector are indexed from 1. | No

## Example

The following example lists up to 10 classes contained in the `roadscene` detector:

    /action=ListDetectionClasses&detector=roadscene
                                &metadata=TRUE
                                &start=1
                                &maxresults=10

## Response

The response always includes the identifier of each class that is returned. The response can also include metadata, if you set the parameter `metadata=true`.

    <autnresponse>
      <action>LISTDETECTIONCLASSES</action>
      <response>SUCCESS</response>
      <responsedata>
        <class>
          <identifier>car</identifier>
        </class>
        <class>
          <identifier>person</identifier>
        </class>
        <class>
          <identifier>van</identifier>
        </class>
      </responsedata>
    </autnresponse>

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm