类 Seetaface6LivenessModel
- java.lang.Object
-
- cn.smartjavaai.face.model.liveness.Seetaface6LivenessModel
-
- 所有已实现的接口:
LivenessDetModel
public class Seetaface6LivenessModel extends Object implements LivenessDetModel
seetaface6 活体检测模型- 作者:
- dwj
-
-
构造器概要
构造器 构造器 说明 Seetaface6LivenessModel()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DetectionResponsedetect(byte[] imageData)活体检测(多人脸)LivenessStatusdetect(byte[] imageData, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)活体检测(单人脸)List<LivenessStatus>detect(byte[] imageData, DetectionResponse faceDetectionResponse)活体检测(多人脸)DetectionResponsedetect(BufferedImage image)活体检测(多人脸)LivenessStatusdetect(BufferedImage image, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)活体检测(单人脸)List<LivenessStatus>detect(BufferedImage image, DetectionResponse faceDetectionResponse)活体检测(多人脸)DetectionResponsedetect(String imagePath)活体检测(多人脸)LivenessStatusdetect(String imagePath, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)活体检测(单人脸)List<LivenessStatus>detect(String imagePath, DetectionResponse faceDetectionResponse)活体检测(多人脸)LivenessStatusdetectTopFace(byte[] imageData)活体检测(分数最高人脸)LivenessStatusdetectTopFace(BufferedImage image)活体检测(分数最高人脸)LivenessStatusdetectTopFace(String imagePath)活体检测(分数最高人脸)LivenessStatusdetectVideo(InputStream videoInputStream)视频活体检测LivenessStatusdetectVideo(String videoPath)视频活体检测LivenessStatusdetectVideoByFrame(byte[] frameImageData)视频活体检测(逐帧检测)LivenessStatusdetectVideoByFrame(byte[] frameData, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)视频活体检测(逐帧检测)LivenessStatusdetectVideoByFrame(BufferedImage frameImageData)视频活体检测(逐帧检测)LivenessStatusdetectVideoByFrame(BufferedImage frameImage, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)视频活体检测(逐帧检测)voidloadModel(LivenessConfig config)加载模型
-
-
-
方法详细资料
-
loadModel
public void loadModel(LivenessConfig config)
从接口复制的说明:LivenessDetModel加载模型- 指定者:
loadModel在接口中LivenessDetModel
-
detect
public DetectionResponse detect(String imagePath)
从接口复制的说明:LivenessDetModel活体检测(多人脸)- 指定者:
detect在接口中LivenessDetModel- 参数:
imagePath- 图片路径- 返回:
-
detect
public DetectionResponse detect(byte[] imageData)
从接口复制的说明:LivenessDetModel活体检测(多人脸)- 指定者:
detect在接口中LivenessDetModel- 参数:
imageData- 图片字节流- 返回:
-
detect
public DetectionResponse detect(BufferedImage image)
从接口复制的说明:LivenessDetModel活体检测(多人脸)- 指定者:
detect在接口中LivenessDetModel- 参数:
image- BufferedImage- 返回:
-
detect
public List<LivenessStatus> detect(String imagePath, DetectionResponse faceDetectionResponse)
从接口复制的说明:LivenessDetModel活体检测(多人脸)- 指定者:
detect在接口中LivenessDetModel- 参数:
imagePath- 图片路径faceDetectionResponse- 人脸检测结果- 返回:
-
detect
public LivenessStatus detect(String imagePath, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
从接口复制的说明:LivenessDetModel活体检测(单人脸)- 指定者:
detect在接口中LivenessDetModel- 参数:
imagePath- 图片路径faceDetectionRectangle- 人脸检测结果-人脸框- 返回:
-
detect
public List<LivenessStatus> detect(BufferedImage image, DetectionResponse faceDetectionResponse)
从接口复制的说明:LivenessDetModel活体检测(多人脸)- 指定者:
detect在接口中LivenessDetModel- 参数:
image- BufferedImagefaceDetectionResponse- 人脸检测结果- 返回:
-
detect
public LivenessStatus detect(BufferedImage image, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
从接口复制的说明:LivenessDetModel活体检测(单人脸)- 指定者:
detect在接口中LivenessDetModel- 参数:
image- BufferedImagefaceDetectionRectangle- 人脸检测结果-人脸框- 返回:
-
detect
public List<LivenessStatus> detect(byte[] imageData, DetectionResponse faceDetectionResponse)
从接口复制的说明:LivenessDetModel活体检测(多人脸)- 指定者:
detect在接口中LivenessDetModel- 参数:
imageData- 图片数据faceDetectionResponse- 人脸检测结果- 返回:
-
detect
public LivenessStatus detect(byte[] imageData, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
从接口复制的说明:LivenessDetModel活体检测(单人脸)- 指定者:
detect在接口中LivenessDetModelfaceDetectionRectangle- 人脸检测结果-人脸框- 返回:
-
detectTopFace
public LivenessStatus detectTopFace(String imagePath)
从接口复制的说明:LivenessDetModel活体检测(分数最高人脸)- 指定者:
detectTopFace在接口中LivenessDetModel- 返回:
-
detectTopFace
public LivenessStatus detectTopFace(BufferedImage image)
从接口复制的说明:LivenessDetModel活体检测(分数最高人脸)- 指定者:
detectTopFace在接口中LivenessDetModel- 返回:
-
detectTopFace
public LivenessStatus detectTopFace(byte[] imageData)
从接口复制的说明:LivenessDetModel活体检测(分数最高人脸)- 指定者:
detectTopFace在接口中LivenessDetModel- 返回:
-
detectVideoByFrame
public LivenessStatus detectVideoByFrame(BufferedImage frameImage, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
从接口复制的说明:LivenessDetModel视频活体检测(逐帧检测)- 指定者:
detectVideoByFrame在接口中LivenessDetModel- 返回:
-
detectVideoByFrame
public LivenessStatus detectVideoByFrame(byte[] frameData, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
从接口复制的说明:LivenessDetModel视频活体检测(逐帧检测)- 指定者:
detectVideoByFrame在接口中LivenessDetModel- 返回:
-
detectVideoByFrame
public LivenessStatus detectVideoByFrame(byte[] frameImageData)
从接口复制的说明:LivenessDetModel视频活体检测(逐帧检测)- 指定者:
detectVideoByFrame在接口中LivenessDetModel- 返回:
-
detectVideoByFrame
public LivenessStatus detectVideoByFrame(BufferedImage frameImageData)
从接口复制的说明:LivenessDetModel视频活体检测(逐帧检测)- 指定者:
detectVideoByFrame在接口中LivenessDetModel- 返回:
-
detectVideo
public LivenessStatus detectVideo(InputStream videoInputStream)
从接口复制的说明:LivenessDetModel视频活体检测- 指定者:
detectVideo在接口中LivenessDetModel- 返回:
-
detectVideo
public LivenessStatus detectVideo(String videoPath)
从接口复制的说明:LivenessDetModel视频活体检测- 指定者:
detectVideo在接口中LivenessDetModel- 返回:
-
-