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 aFaceDetectordescribing what was recognized.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatgetConfidence()A score for how good the detection is relative to others.RectFgetLocation()Optional location within the source image for the location of the recognized object.StringtoString()
-
-
-
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:
RectFcontaining location on input image
-
-