Open topic with navigation

# 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.

© 2017 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