diff --git a/index.html b/index.html index b9035f9..8a42aba 100644 --- a/index.html +++ b/index.html @@ -2212,10 +2212,11 @@

Clients

Responses

Response Schema: application/json
code
required
integer (FaceSDKResultCode)
Enum: 0 1 2 3 4 … 34 more
Array of objects (MatchImageDetection)

The array of detected faces.

-
Array of objects (MatchImageResult)

The array of matching results.

+
Array of objects (MatchImageResult)

The array of matching results.

+
object

A free-form object containing person's extended attributes.

Request samples

Content type
application/json
{
  • "tag": "string",
  • "thumbnails": false,
  • "images": [
    • {
      • "index": 0,
      • "type": 1,
      • "data": "string",
      • "detectAll": false
      }
    ],
  • "outputImageParams": {
    • "backgroundColor": null,
    • "crop": {
      • "padColor": null,
      • "returnOriginalRect": null,
      • "size": null,
      • "type": 0
      }
    }
}

Response samples

Content type
application/json
{
  • "code": 0,
  • "detections": [
    • {
      • "faces": [
        • {
          • "faceIndex": 0,
          • "landmarks": [
            ],
          • "rotationAngle": 0,
          • "roi": [
            ],
          • "thumbnail": "string",
          • "crop": "string"
          }
        ],
      • "imageIndex": 0,
      • "status": 0
      }
    ],
  • "results": [
    • {
      • "firstIndex": 0,
      • "firstFaceIndex": 0,
      • "first": 1,
      • "secondIndex": 0,
      • "secondFaceIndex": 0,
      • "second": 1,
      • "score": 0,
      • "similarity": 0
      }
    ]
}