public class Seetaface6LivenessModel extends Object implements LivenessDetModel
| 构造器和说明 |
|---|
Seetaface6LivenessModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
DetectionResponse |
detect(BufferedImage image)
活体检测(多人脸)
|
LivenessStatus |
detect(BufferedImage image,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints)
活体检测(单人脸)
|
List<LivenessStatus> |
detect(BufferedImage image,
DetectionResponse faceDetectionResponse)
活体检测(多人脸)
|
DetectionResponse |
detect(byte[] imageData)
活体检测(多人脸)
|
LivenessStatus |
detect(byte[] imageData,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints)
活体检测(单人脸)
|
List<LivenessStatus> |
detect(byte[] imageData,
DetectionResponse faceDetectionResponse)
活体检测(多人脸)
|
DetectionResponse |
detect(String imagePath)
活体检测(多人脸)
|
LivenessStatus |
detect(String imagePath,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints)
活体检测(单人脸)
|
List<LivenessStatus> |
detect(String imagePath,
DetectionResponse faceDetectionResponse)
活体检测(多人脸)
|
LivenessStatus |
detectTopFace(BufferedImage image)
活体检测(分数最高人脸)
|
LivenessStatus |
detectTopFace(byte[] imageData)
活体检测(分数最高人脸)
|
LivenessStatus |
detectTopFace(String imagePath)
活体检测(分数最高人脸)
|
LivenessStatus |
detectVideo(InputStream videoInputStream)
视频活体检测
|
LivenessStatus |
detectVideo(String videoPath)
视频活体检测
|
LivenessStatus |
detectVideoByFrame(BufferedImage frameImageData)
视频活体检测(逐帧检测)
|
LivenessStatus |
detectVideoByFrame(BufferedImage frameImage,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints)
视频活体检测(逐帧检测)
|
LivenessStatus |
detectVideoByFrame(byte[] frameImageData)
视频活体检测(逐帧检测)
|
LivenessStatus |
detectVideoByFrame(byte[] frameData,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints)
视频活体检测(逐帧检测)
|
void |
loadModel(LivenessConfig config)
加载模型
|
public void loadModel(LivenessConfig config)
LivenessDetModelloadModel 在接口中 LivenessDetModelpublic DetectionResponse detect(String imagePath)
LivenessDetModeldetect 在接口中 LivenessDetModelimagePath - 图片路径public DetectionResponse detect(byte[] imageData)
LivenessDetModeldetect 在接口中 LivenessDetModelimageData - 图片字节流public DetectionResponse detect(BufferedImage image)
LivenessDetModeldetect 在接口中 LivenessDetModelimage - BufferedImagepublic List<LivenessStatus> detect(String imagePath, DetectionResponse faceDetectionResponse)
LivenessDetModeldetect 在接口中 LivenessDetModelimagePath - 图片路径faceDetectionResponse - 人脸检测结果public LivenessStatus detect(String imagePath, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
LivenessDetModeldetect 在接口中 LivenessDetModelimagePath - 图片路径faceDetectionRectangle - 人脸检测结果-人脸框public List<LivenessStatus> detect(BufferedImage image, DetectionResponse faceDetectionResponse)
LivenessDetModeldetect 在接口中 LivenessDetModelimage - BufferedImagefaceDetectionResponse - 人脸检测结果public LivenessStatus detect(BufferedImage image, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
LivenessDetModeldetect 在接口中 LivenessDetModelimage - BufferedImagefaceDetectionRectangle - 人脸检测结果-人脸框public List<LivenessStatus> detect(byte[] imageData, DetectionResponse faceDetectionResponse)
LivenessDetModeldetect 在接口中 LivenessDetModelimageData - 图片数据faceDetectionResponse - 人脸检测结果public LivenessStatus detect(byte[] imageData, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
LivenessDetModeldetect 在接口中 LivenessDetModelfaceDetectionRectangle - 人脸检测结果-人脸框public LivenessStatus detectTopFace(String imagePath)
LivenessDetModeldetectTopFace 在接口中 LivenessDetModelpublic LivenessStatus detectTopFace(BufferedImage image)
LivenessDetModeldetectTopFace 在接口中 LivenessDetModelpublic LivenessStatus detectTopFace(byte[] imageData)
LivenessDetModeldetectTopFace 在接口中 LivenessDetModelpublic LivenessStatus detectVideoByFrame(BufferedImage frameImage, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
LivenessDetModeldetectVideoByFrame 在接口中 LivenessDetModelpublic LivenessStatus detectVideoByFrame(byte[] frameData, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
LivenessDetModeldetectVideoByFrame 在接口中 LivenessDetModelpublic LivenessStatus detectVideoByFrame(byte[] frameImageData)
LivenessDetModeldetectVideoByFrame 在接口中 LivenessDetModelpublic LivenessStatus detectVideoByFrame(BufferedImage frameImageData)
LivenessDetModeldetectVideoByFrame 在接口中 LivenessDetModelpublic LivenessStatus detectVideo(InputStream videoInputStream)
LivenessDetModeldetectVideo 在接口中 LivenessDetModelpublic LivenessStatus detectVideo(String videoPath)
LivenessDetModeldetectVideo 在接口中 LivenessDetModelCopyright © 2025. All rights reserved.