v5

latestSwagger 2.02026-07-136680294.1 KB

Verify whether two faces belong to a same person.

[!NOTE]

    • Higher face image quality means better identification precision. Please consider high-quality faces: frontal, clear, and face size is 200x200 pixels (100 pixels between eyes) or bigger.
    • For the scenarios that are sensitive to accuracy please make your own judgment.
    • The 'recognitionModel' associated with the both faces should be the same.
post/verify

Request body

faceId1string uuid required

Universally Unique Identifier

faceId2string uuid required

Universally Unique Identifier

Response

A successful call returns the verification result.

isIdenticalboolean required

True if the two faces belong to the same person or the face belongs to the person, otherwise false.

confidencenumber float required

A number indicates the similarity confidence of whether two faces belong to the same person, or whether the face belongs to the person. By default, isIdentical is set to True if similarity confidence is greater than or equal to 0.5. This is useful for advanced users to override 'isIdentical' and fine-tune the result on their own data.