Media Server 12.11

# List the References in a Database

To list the image comparison references that you have added to a database, and check whether training was successful, use the following procedure.

To list the image comparison references in a database

1. (Optional) First list the databases that have been created for use with image comparison. Use the action `ListImageComparisonDatabases`:

       http://localhost:14000/action=ListImageComparisonDatabases

   Media Server returns a list of databases that you have created.

2. List the references that exist in one of the databases. Use the action `ListImageComparisonReferences`, for example:

       /action=ListImageComparisonReferences&database=ReferenceImages
                                            &imagestatus=true
                                            &metadata=true

   Media Server returns a list of references in the specified database.

   If you set the action parameter `metadata` to `true`, Media Server returns any metadata you have added to the references.

   If you set the action parameter `imagestatus` to `true`, Media Server returns the status of each training image associated with each reference.

   - The `status` element indicates the status of training:

     - `trained` indicates that training was successful.
     - `failed` indicates that Media Server could not use the image for training.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.11 | Last updated February 2022

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 12.11

Topic Title: List the References in a Database