Class MatchFacesDetectionFace


  • public final class MatchFacesDetectionFace
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Bitmap getCrop()
      Return the cropped image of the detected face
      int getFaceIndex()
      return the face index of the comparing array
      Rect getFaceRect()
      return the coordinates as rect of a detected face
      java.util.List<Point> getLandmarks()
      return list of the main coordinates of the detected face (eyes, nose, lips, ears and etc.)
      Rect getOriginalRect()
      return the coordinates of the rectangle with the face on the original image prepared for the face crop.
      java.lang.Double getRotationAngle()
      Return the rotation angle value of the detected face
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getFaceIndex

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

        public java.util.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 java.lang.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