POST api/EasyFace/DetectFaces

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 FaceDetail
NameDescriptionTypeAdditional information
AgeRange

AgeRange

None.

Beard

Beard

None.

BoundingBox

BoundingBox

None.

Confidence

decimal number

None.

Emotions

Collection of Emotion

None.

Eyeglasses

Eyeglasses

None.

EyesOpen

EyeOpen

None.

Gender

Gender

None.

Landmarks

Collection of Landmark

None.

MouthOpen

MouthOpen

None.

Mustache

Mustache

None.

Pose

Pose

None.

Quality

ImageQuality

None.

Smile

Smile

None.

Sunglasses

Sunglasses

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AgeRange": {
      "High": 1,
      "Low": 2
    },
    "Beard": {
      "Confidence": 1.1,
      "Value": true
    },
    "BoundingBox": {
      "Height": 1.1,
      "Left": 2.1,
      "Top": 3.1,
      "Width": 4.1
    },
    "Confidence": 1.1,
    "Emotions": [
      {
        "Confidence": 1.1,
        "Type": null
      },
      {
        "Confidence": 1.1,
        "Type": null
      }
    ],
    "Eyeglasses": {
      "Confidence": 1.1,
      "Value": true
    },
    "EyesOpen": {
      "Confidence": 1.1,
      "Value": true
    },
    "Gender": {
      "Confidence": 1.1,
      "Value": null
    },
    "Landmarks": [
      {
        "Type": null,
        "X": 1.1,
        "Y": 2.1
      },
      {
        "Type": null,
        "X": 1.1,
        "Y": 2.1
      }
    ],
    "MouthOpen": {
      "Confidence": 1.1,
      "Value": true
    },
    "Mustache": {
      "Confidence": 1.1,
      "Value": true
    },
    "Pose": {
      "Pitch": 1.1,
      "Roll": 2.1,
      "Yaw": 3.1
    },
    "Quality": {
      "Brightness": 1.1,
      "Sharpness": 2.1
    },
    "Smile": {
      "Confidence": 1.1,
      "Value": true
    },
    "Sunglasses": {
      "Confidence": 1.1,
      "Value": true
    }
  },
  {
    "AgeRange": {
      "High": 1,
      "Low": 2
    },
    "Beard": {
      "Confidence": 1.1,
      "Value": true
    },
    "BoundingBox": {
      "Height": 1.1,
      "Left": 2.1,
      "Top": 3.1,
      "Width": 4.1
    },
    "Confidence": 1.1,
    "Emotions": [
      {
        "Confidence": 1.1,
        "Type": null
      },
      {
        "Confidence": 1.1,
        "Type": null
      }
    ],
    "Eyeglasses": {
      "Confidence": 1.1,
      "Value": true
    },
    "EyesOpen": {
      "Confidence": 1.1,
      "Value": true
    },
    "Gender": {
      "Confidence": 1.1,
      "Value": null
    },
    "Landmarks": [
      {
        "Type": null,
        "X": 1.1,
        "Y": 2.1
      },
      {
        "Type": null,
        "X": 1.1,
        "Y": 2.1
      }
    ],
    "MouthOpen": {
      "Confidence": 1.1,
      "Value": true
    },
    "Mustache": {
      "Confidence": 1.1,
      "Value": true
    },
    "Pose": {
      "Pitch": 1.1,
      "Roll": 2.1,
      "Yaw": 3.1
    },
    "Quality": {
      "Brightness": 1.1,
      "Sharpness": 2.1
    },
    "Smile": {
      "Confidence": 1.1,
      "Value": true
    },
    "Sunglasses": {
      "Confidence": 1.1,
      "Value": true
    }
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.