Media Server 23.3

# TestObjectClassRecognizerSnapshot

Evaluates the performance of an object class recognizer snapshot using training images that were set aside for evaluation purposes.

To use this action, you must have enabled snapshots and you must have built the recognizer. For more information about snapshots, refer to the Media Server Administration Guide and the documentation for the action SetObjectClassRecognizerTrainingOption.

Type: asynchronous

Parameter | Description | Required
--- | --- | ---
`recognizer` | The name of the recognizer. | Yes
`snapshotindex` | The index number of the snapshot to test. To view available snapshots, use the ListObjectClassRecognizers action. | Yes
`maximagesize` | Media Server reduces the size of images before running object class recognition, to reduce the amount of time and memory required to complete the task. This parameter specifies the maximum image width or height. To ensure you get comparable results when the recognizer is used, set this parameter to the same value as the MaxImageSize parameter in your object class recognition task. In most cases OpenText recommends using the default value. | No

## Example

    /action=TestObjectClassRecognizerSnapshot&recognizer=vehicles&snapshotindex=0

## Response

This action is asynchronous, so Media Server always returns success accompanied by a token. You can use this token with the QueueInfo action to retrieve the status of your request.

After the action has finished, you can obtain the results of the test through the action GetObjectClassRecognizerSnapshotStatistics. You can then select the snapshot to use by running the action SelectObjectClassRecognizerSnapshot.

Copyright 2023 Open Text
Version 23.3 | Last updated June 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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Media Server 23.3

Topic Title: TestObjectClassRecognizerSnapshot