Media Server 24.1

# ListObjectClasses

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

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`recognizer` | The name of the recognizer 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, set `start=10`. The entries are indexed from 1. | No

## Example

The following example lists up to 10 classes contained in the `RoadScene` recognizer:

    /action=ListObjectClasses&recognizer=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>LISTOBJECTCLASSES</action>
      <response>SUCCESS</response>
      <responsedata>
        <class>
          <identifier>car</identifier>
        </class>
        <class>
          <identifier>person</identifier>
        </class>
        <class>
          <identifier>van</identifier>
        </class>
      </responsedata>
    </autnresponse>

Copyright 2023 Open Text
Version 24.1 | Last updated December 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Media Server 24.1

Topic Title: ListObjectClasses