v27

latestSwagger 2.0raw.githubusercontent.com2022-12-116362180.5 KB

Verify whether two faces belong to a same person or whether one face belongs to a person. <br/> Remarks:<br />

  • 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 query faces' faceIds should be the same as the 'recognitionModel' used by the target face, person group or large person group.
post/verify

Request body

faceId1string uuid required

FaceId of the first face, comes from Face - Detect

faceId2string uuid required

FaceId of the second face, comes from Face - Detect

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 required

A number ranging from 0 to 1 indicating a level of confidence associated with a property.