POST api/EasyFace/DetectLabels

Request Information

URI Parameters

None.

Body Parameters

DetectLabelsRequest1
NameDescriptionTypeAdditional information
ImageBase64

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ImageBase64": "sample string 1"
}

application/xml, text/xml

Sample:
<DetectLabelsRequest1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReconocimientoFacial.Models">
  <ImageBase64>sample string 1</ImageBase64>
</DetectLabelsRequest1>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Label
NameDescriptionTypeAdditional information
Confidence

decimal number

None.

Instances

Collection of Instance

None.

Name

string

None.

Parents

Collection of Parent

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Confidence": 1.1,
    "Instances": [
      {
        "BoundingBox": {
          "Height": 1.1,
          "Left": 2.1,
          "Top": 3.1,
          "Width": 4.1
        },
        "Confidence": 1.1
      },
      {
        "BoundingBox": {
          "Height": 1.1,
          "Left": 2.1,
          "Top": 3.1,
          "Width": 4.1
        },
        "Confidence": 1.1
      }
    ],
    "Name": "sample string 2",
    "Parents": [
      {
        "Name": "sample string 1"
      },
      {
        "Name": "sample string 1"
      }
    ]
  },
  {
    "Confidence": 1.1,
    "Instances": [
      {
        "BoundingBox": {
          "Height": 1.1,
          "Left": 2.1,
          "Top": 3.1,
          "Width": 4.1
        },
        "Confidence": 1.1
      },
      {
        "BoundingBox": {
          "Height": 1.1,
          "Left": 2.1,
          "Top": 3.1,
          "Width": 4.1
        },
        "Confidence": 1.1
      }
    ],
    "Name": "sample string 2",
    "Parents": [
      {
        "Name": "sample string 1"
      },
      {
        "Name": "sample string 1"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfLabel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Amazon.Rekognition.Model">
  <Label>
    <Confidence>1.1</Confidence>
    <Instances>
      <Instance>
        <BoundingBox>
          <Height>1.1</Height>
          <Left>2.1</Left>
          <Top>3.1</Top>
          <Width>4.1</Width>
        </BoundingBox>
        <Confidence>1.1</Confidence>
      </Instance>
      <Instance>
        <BoundingBox>
          <Height>1.1</Height>
          <Left>2.1</Left>
          <Top>3.1</Top>
          <Width>4.1</Width>
        </BoundingBox>
        <Confidence>1.1</Confidence>
      </Instance>
    </Instances>
    <Name>sample string 2</Name>
    <Parents>
      <Parent>
        <Name>sample string 1</Name>
      </Parent>
      <Parent>
        <Name>sample string 1</Name>
      </Parent>
    </Parents>
  </Label>
  <Label>
    <Confidence>1.1</Confidence>
    <Instances>
      <Instance>
        <BoundingBox>
          <Height>1.1</Height>
          <Left>2.1</Left>
          <Top>3.1</Top>
          <Width>4.1</Width>
        </BoundingBox>
        <Confidence>1.1</Confidence>
      </Instance>
      <Instance>
        <BoundingBox>
          <Height>1.1</Height>
          <Left>2.1</Left>
          <Top>3.1</Top>
          <Width>4.1</Width>
        </BoundingBox>
        <Confidence>1.1</Confidence>
      </Instance>
    </Instances>
    <Name>sample string 2</Name>
    <Parents>
      <Parent>
        <Name>sample string 1</Name>
      </Parent>
      <Parent>
        <Name>sample string 1</Name>
      </Parent>
    </Parents>
  </Label>
</ArrayOfLabel>