Class DetectFaceResult

java.lang.Object
com.regula.facesdk.detection.response.DetectFaceResult

public class DetectFaceResult extends Object
  • Constructor Details

  • Method Details

    • getQuality

      public List<ImageQualityResult> getQuality()
      The array for the face image quality assessments
      Returns:
      List<ImageQualityResult>
    • getAttributes

      public List<DetectFacesAttributeResult> getAttributes()
      The array of the checked attributes.
      Returns:
      List<DetectFacesAttributeResult>
    • getCropImage

      public String getCropImage()
      Base64 image of the aligned and cropped portrait. Returned if DetectFacesConfiguration.getOutputImageParams() is set or predefined scenario is used.
      Returns:
      String
    • getFaceRect

      public Rect getFaceRect()
      Coordinates of the rectangular area that contains the face relative to the overall image.
      Returns:
      android.graphics.Rect
    • getOriginalRect

      public Rect getOriginalRect()
      Coordinates of the rectangle with the face on the original image prepared for the face crop. Requires OutputImageCrop.isReturnOriginalRect() is set.
      Returns:
      android.graphics.Rect
    • getLandMarks

      public List<Point> getLandMarks()
      Absolute coordinates of five points of each detected face: left eye, right eye, nose, left point of lips, right point of lips.
      Returns:
      List<android.graphics.Rect>
    • isQualityCompliant

      public boolean isQualityCompliant()
      Summary of all image quality assessments. Returns true if all image quality assessments have success status. Returns false if any of image quality assessments have non-success status or none of quality assessments were requested.