Class MatchFacesDetectionFace

java.lang.Object
com.regula.facesdk.model.results.matchfaces.MatchFacesDetectionFace

public final class MatchFacesDetectionFace extends Object
  • Method Details

    • getFaceIndex

      public int getFaceIndex()
      return the face index of the comparing array
      Returns:
      face position index
    • getLandmarks

      public List<Point> getLandmarks()
      return list of the main coordinates of the detected face (eyes, nose, lips, ears and etc.)
      Returns:
      List of android.graphics.Point
    • getFaceRect

      public Rect getFaceRect()
      return the coordinates as rect of a detected face
      Returns:
      android.graphics.Rect
    • getOriginalRect

      public Rect getOriginalRect()
      return the coordinates of the rectangle with the face on the original image prepared for the face crop.
      Returns:
      android.graphics.Rect
    • getRotationAngle

      public Double getRotationAngle()
      Return the rotation angle value of the detected face
      Returns:
      rotation angle in the double format
    • getCrop

      public Bitmap getCrop()
      Return the cropped image of the detected face
      Returns:
      android.graphics.Bitmap