public class Seetaface6Utils extends Object
| 构造器和说明 |
|---|
Seetaface6Utils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DetectionResponse |
convertToDetectionResponse(com.seeta.sdk.SeetaRect[] seetaResult,
List<com.seeta.sdk.SeetaPointF[]> seetaPointFSList,
List<LivenessStatus> livenessStatusList)
转换为FaceDetectedResult
|
static EyeStatus |
convertToEyeStatus(com.seeta.sdk.EyeStateDetector.EYE_STATE eyeState)
转为EyeStatus
|
static DetectionResponse |
convertToFaceAttributeResponse(com.seeta.sdk.SeetaRect[] seetaResult,
List<com.seeta.sdk.SeetaPointF[]> seetaPointFSList,
List<FaceAttribute> faceAttributeList) |
static GenderType |
convertToGenderType(com.seeta.sdk.GenderPredictor.GENDER gender)
转为GenderType
|
static LivenessStatus |
convertToLivenessStatus(com.seeta.sdk.FaceAntiSpoofing.Status status)
将SeetaAntiSpoofing.Status转换为LivenessStatus
|
static com.seeta.sdk.SeetaPointF[] |
convertToSeetaPointF(List<Point> pointList)
将PointList转换为SeetaPointF[]
|
static com.seeta.sdk.SeetaRect |
convertToSeetaRect(DetectionRectangle detectionRectangle)
将DetectionRectangle转换为SeetaRect
|
static double[][] |
facePoints(com.seeta.sdk.SeetaPointF[] pointFS)
子图中人脸关键点坐标 - Coordinates of key points in the image
|
static BufferedImage |
toBufferedImage(com.seeta.sdk.SeetaImageData seetaImageData)
bgr转图片
|
public static double[][] facePoints(com.seeta.sdk.SeetaPointF[] pointFS)
pointFS - public static BufferedImage toBufferedImage(com.seeta.sdk.SeetaImageData seetaImageData)
public static com.seeta.sdk.SeetaRect convertToSeetaRect(DetectionRectangle detectionRectangle)
detectionRectangle - public static com.seeta.sdk.SeetaPointF[] convertToSeetaPointF(List<Point> pointList)
pointList - public static LivenessStatus convertToLivenessStatus(com.seeta.sdk.FaceAntiSpoofing.Status status)
status - public static GenderType convertToGenderType(com.seeta.sdk.GenderPredictor.GENDER gender)
gender - public static EyeStatus convertToEyeStatus(com.seeta.sdk.EyeStateDetector.EYE_STATE eyeState)
eyeState - public static DetectionResponse convertToFaceAttributeResponse(com.seeta.sdk.SeetaRect[] seetaResult, List<com.seeta.sdk.SeetaPointF[]> seetaPointFSList, List<FaceAttribute> faceAttributeList)
public static DetectionResponse convertToDetectionResponse(com.seeta.sdk.SeetaRect[] seetaResult, List<com.seeta.sdk.SeetaPointF[]> seetaPointFSList, List<LivenessStatus> livenessStatusList)
seetaResult - Copyright © 2025. All rights reserved.