Class MatchFacesDetectionFace
- java.lang.Object
-
- com.regula.facesdk.model.results.matchfaces.MatchFacesDetectionFace
-
public final class MatchFacesDetectionFace extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MatchFacesDetectionFace.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bitmap
getCrop()
Return the cropped image of the detected faceint
getFaceIndex()
return the face index of the comparing arrayRect
getFaceRect()
return the coordinates as rect of a detected facejava.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
-
-
-
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
-
-