public class Seetaface6LivenessModel extends Object implements LivenessDetModel
| 构造器和说明 |
|---|
Seetaface6LivenessModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
R<DetectionResponse> |
detect(BufferedImage image)
活体检测(多人脸)
|
R<LivenessResult> |
detect(BufferedImage image,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints)
活体检测(单人脸)
|
R<List<LivenessResult>> |
detect(BufferedImage image,
DetectionResponse faceDetectionResponse)
活体检测(多人脸)
|
R<DetectionResponse> |
detect(byte[] imageData)
活体检测(多人脸)
|
R<LivenessResult> |
detect(byte[] imageData,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints)
活体检测(单人脸)
|
R<List<LivenessResult>> |
detect(byte[] imageData,
DetectionResponse faceDetectionResponse)
活体检测(多人脸)
|
R<DetectionResponse> |
detect(String imagePath)
活体检测(多人脸)
|
R<LivenessResult> |
detect(String imagePath,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints)
活体检测(单人脸)
|
R<List<LivenessResult>> |
detect(String imagePath,
DetectionResponse faceDetectionResponse)
活体检测(多人脸)
|
R<LivenessResult> |
detectTopFace(BufferedImage image)
活体检测(分数最高人脸)
|
R<LivenessResult> |
detectTopFace(byte[] imageData)
活体检测(分数最高人脸)
|
R<LivenessResult> |
detectTopFace(String imagePath)
活体检测(分数最高人脸)
|
R<LivenessResult> |
detectVideo(InputStream videoInputStream)
视频活体检测
|
R<LivenessResult> |
detectVideo(String videoPath)
视频活体检测
|
R<LivenessResult> |
detectVideoByFrame(BufferedImage frameImageData) |
R<LivenessResult> |
detectVideoByFrame(BufferedImage frameImage,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints) |
R<LivenessResult> |
detectVideoByFrame(byte[] frameImageData) |
R<LivenessResult> |
detectVideoByFrame(byte[] frameData,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints) |
com.seeta.pool.FaceAntiSpoofingPool |
getFaceAntiSpoofingPool() |
com.seeta.pool.FaceDetectorPool |
getFaceDetectorPool() |
com.seeta.pool.FaceLandmarkerPool |
getFaceLandmarkerPool() |
void |
loadModel(LivenessConfig config)
加载模型
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetect, detect, detect, detectBase64, detectBase64, detectBase64, detectBase64, detectTopFaceBase64, getPoolpublic void loadModel(LivenessConfig config)
LivenessDetModelloadModel 在接口中 LivenessDetModelpublic R<DetectionResponse> detect(String imagePath)
LivenessDetModeldetect 在接口中 LivenessDetModelimagePath - 图片路径public R<DetectionResponse> detect(byte[] imageData)
LivenessDetModeldetect 在接口中 LivenessDetModelimageData - 图片字节流public R<DetectionResponse> detect(BufferedImage image)
LivenessDetModeldetect 在接口中 LivenessDetModelimage - BufferedImagepublic R<List<LivenessResult>> detect(String imagePath, DetectionResponse faceDetectionResponse)
LivenessDetModeldetect 在接口中 LivenessDetModelimagePath - 图片路径faceDetectionResponse - 人脸检测结果public R<List<LivenessResult>> detect(BufferedImage image, DetectionResponse faceDetectionResponse)
LivenessDetModeldetect 在接口中 LivenessDetModelimage - BufferedImagefaceDetectionResponse - 人脸检测结果public R<List<LivenessResult>> detect(byte[] imageData, DetectionResponse faceDetectionResponse)
LivenessDetModeldetect 在接口中 LivenessDetModelimageData - 图片数据faceDetectionResponse - 人脸检测结果public R<LivenessResult> detect(String imagePath, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
LivenessDetModeldetect 在接口中 LivenessDetModelimagePath - 图片路径faceDetectionRectangle - 人脸检测结果-人脸框public R<LivenessResult> detect(BufferedImage image, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
LivenessDetModeldetect 在接口中 LivenessDetModelimage - BufferedImagefaceDetectionRectangle - 人脸检测结果-人脸框public R<LivenessResult> detect(byte[] imageData, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
LivenessDetModeldetect 在接口中 LivenessDetModelfaceDetectionRectangle - 人脸检测结果-人脸框public R<LivenessResult> detectTopFace(String imagePath)
LivenessDetModeldetectTopFace 在接口中 LivenessDetModelpublic R<LivenessResult> detectTopFace(BufferedImage image)
LivenessDetModeldetectTopFace 在接口中 LivenessDetModelpublic R<LivenessResult> detectTopFace(byte[] imageData)
LivenessDetModeldetectTopFace 在接口中 LivenessDetModelpublic R<LivenessResult> detectVideoByFrame(BufferedImage frameImage, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
public R<LivenessResult> detectVideoByFrame(byte[] frameData, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
public R<LivenessResult> detectVideoByFrame(byte[] frameImageData)
public R<LivenessResult> detectVideoByFrame(BufferedImage frameImageData)
public R<LivenessResult> detectVideo(InputStream videoInputStream)
LivenessDetModeldetectVideo 在接口中 LivenessDetModelpublic R<LivenessResult> detectVideo(String videoPath)
LivenessDetModeldetectVideo 在接口中 LivenessDetModelpublic com.seeta.pool.FaceDetectorPool getFaceDetectorPool()
public com.seeta.pool.FaceAntiSpoofingPool getFaceAntiSpoofingPool()
public com.seeta.pool.FaceLandmarkerPool getFaceLandmarkerPool()
public void close()
throws Exception
close 在接口中 AutoCloseableExceptionCopyright © 2025. All rights reserved.