Package com.libremobileos.yifan.face
Class FaceDetector.Face
- java.lang.Object
-
- com.libremobileos.yifan.face.FaceDetector.Face
-
- Enclosing class:
- FaceDetector
public static class FaceDetector.Face extends Object
An immutable result returned by aFaceDetector
describing what was recognized.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Float
getConfidence()
A score for how good the detection is relative to others.RectF
getLocation()
Optional location within the source image for the location of the recognized object.String
toString()
-
-
-
Method Detail
-
getConfidence
public Float getConfidence()
A score for how good the detection is relative to others.- Returns:
- Sortable score, higher is better. Min: 0f Max: 1.0f
-
getLocation
public RectF getLocation()
Optional location within the source image for the location of the recognized object.- Returns:
RectF
containing location on input image
-
-