Open topic with navigation

# GetFaceImage

Returns a training image associated with a face.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the database that contains the face. | Yes
`identifier` | The identifier of the face from which you want to retrieve an image. | Yes
`imagelabel` | The label of the image that you want to retrieve. | Yes

## Example

    curl http://localhost:14000 -F action=getfaceimage
                                -F database=BritishPoliticians
                                -F identifier=6600dc0f9dd72d0cb55589e8f1d28b62
                                -F imagelabel=image1
                                -o ReturnedFaceImage.jpg

## Response

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.

© 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