public class Seetaface6LivenessModel extends Object implements LivenessDetModel
| 构造器和说明 |
|---|
Seetaface6LivenessModel() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetect, detect, detect, detectBase64, detectBase64, detectBase64, detectBase64, detectTopFaceBase64public 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 void close()
throws Exception
close 在接口中 AutoCloseableExceptionCopyright © 2025. All rights reserved.