From f58d4682fe14f1ac725a9c0ed098585f15d4d428 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 18 Sep 2023 15:27:36 +0000 Subject: [PATCH] update pages --- index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index d39c949..24e344a 100644 --- a/index.html +++ b/index.html @@ -2205,14 +2205,15 @@

matching

Compare faces in all combinations

header Parameters
X-RequestID
string

Request header label.

Request Body schema: application/json
tag
string

Session identificator.

thumbnails
boolean
Default: false

Whether to return thumbnails: Base64 cropped images that contain vertically aligned faces.

-
required
Array of objects (MatchImage)

The array of all images included in the comparison.

+
required
Array of objects (MatchImage)

The array of all images included in the comparison.

+
object

Whether to process the uploaded image according to the indicated settings.

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.

Request samples

Content type
application/json
{
  • "tag": "string",
  • "thumbnails": false,
  • "images": [
    • {
      • "index": 0,
      • "type": 1,
      • "data": "string",
      • "detectAll": false
      }
    ]
}

Response samples

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