Represents a result of the ComparedFace attempt to compare input images.

Accessors

  • get first(): ComparedFace
  • The first face in the comparison pair.

    Returns ComparedFace

  • get score(): number
  • The raw value returned by the service without applying any thresholds or comparison rules. The value shows the degree of similarity of compared faces, the lower - the more similar, and vice versa less similar. The score is used in conjunction with the input image imageType to evaluate similarity.

    Returns number

  • get second(): ComparedFace
  • The second face in the comparison pair.

    Returns ComparedFace

  • get similarity(): number
  • Similarity of the faces pair. Floating point value from 0 to 1.

    Returns number