Returns a training image associated with an image comparison reference.
Type: synchronous
Parameter | Description | Required |
---|---|---|
database
|
The name of the database that contains the reference. | Yes |
identifier
|
The identifier of the reference from which you want to retrieve an image. | Yes |
imagelabel
|
The label of the image that you want to retrieve. | Yes |
curl http://localhost:14000 -F action=GetImageComparisonReferenceImage -F database=ReferenceImages -F identifier=6d8e53fd92e601a4b8948e1b9397e381 -F imagelabel=182d1007acab1a12890d2045794f27cc -o ReturnedImage.png
The response contains the image data.
HPE Media Server identifies the image type and sets the Content-Type
header to the appropriate MIME type. The Content-Length
header is set to the length of the image data in bytes.
If an error occurs, HPE Media Server returns a standard XML error response.
|