com.pax.dal.entity
Class LivenessDetectResult
- java.lang.Object
-
- com.pax.dal.entity.LivenessDetectResult
-
public class LivenessDetectResult extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description LivenessDetectResult(byte[] imageData, double matchScore, java.lang.String timestamp, android.graphics.Rect rect, int quality)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description byte[]getImageData()获取人脸图片。Get the pictures of faces.doublegetMatchScore()获取活体检测评分。Get the score of liveness detect.intgetQuality()获取人脸质量。Get face quality.android.graphics.RectgetRect()获取人脸框坐标。Get the coordinates of face rectangle.java.lang.StringgetTimestamp()获取时间戳。Get the timestamp.
-
-
-
Constructor Detail
-
LivenessDetectResult
public LivenessDetectResult(byte[] imageData, double matchScore, java.lang.String timestamp, android.graphics.Rect rect, int quality)
-
-
Method Detail
-
getImageData
public byte[] getImageData()
获取人脸图片。Get the pictures of faces.- Returns:
- 人脸图片。JPG格式,200K以内。Pictures of faces. JPG format, less than 200K.
-
getMatchScore
public double getMatchScore()
获取活体检测评分。Get the score of liveness detect.- Returns:
- 活检评分。0.0~1.0。Score of liveness detection. 0.0~1.0 .
-
getTimestamp
public java.lang.String getTimestamp()
获取时间戳。Get the timestamp.- Returns:
- 时间戳。Timestamp.
-
getRect
public android.graphics.Rect getRect()
获取人脸框坐标。Get the coordinates of face rectangle.- Returns:
- 人脸框坐标。The coordinates of face rectangle.
-
getQuality
public int getQuality()
获取人脸质量。Get face quality.- Returns:
- 0:人脸质量好。1:存在多人脸。0: Good face quality. 1: There are multiple faces.
-
-