@regulaforensics/face-sdk
    Preparing search index...

    Class MatchFacesDetectionFace

    Represents face detection information as a part of MatchFacesResponse.

    Index
    • get crop(): string | null

      String image of the aligned and cropped portrait. Returned if MatchFacesRequest.outputImageParams is set or predefined scenario is used.

      Returns string | null

    • get faceIndex(): number

      The index of the face detection object in the array of detections.

      Returns number

    • get faceRect(): Rect

      Rectangular area of the detected face in the original image.

      Returns Rect

    • get landmarks(): Point[]

      Main coordinates of the detected face (eyes, nose, lips, ears and etc.).

      Returns Point[]

    • get rotationAngle(): number | null

      Rotation is measured counterclockwise in degrees, with zero indicating that a line drawn between the eyes is horizontal relative to the image orientation.

      Returns number | null