接口 FaceAttributeModel
-
- 所有已知实现类:
Seetaface6FaceAttributeModel
public interface FaceAttributeModel人脸属性识别模型- 作者:
- dwj
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default DetectionResponsedetect(byte[] imageData)人脸属性识别(多人脸)default FaceAttributedetect(byte[] imageData, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)人脸属性识别(单人脸)default List<FaceAttribute>detect(byte[] imageData, DetectionResponse faceDetectionResponse)人脸属性识别(多人脸)default DetectionResponsedetect(BufferedImage image)人脸属性识别(多人脸)default FaceAttributedetect(BufferedImage image, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)人脸属性识别(单人脸)default List<FaceAttribute>detect(BufferedImage image, DetectionResponse faceDetectionResponse)人脸属性识别(多人脸)default DetectionResponsedetect(String imagePath)人脸属性识别(多人脸)default FaceAttributedetect(String imagePath, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)人脸属性识别(单人脸)default List<FaceAttribute>detect(String imagePath, DetectionResponse faceDetectionResponse)人脸属性识别(多人脸)default FaceAttributedetectCropedFace(byte[] imageData)人脸属性识别(裁剪后的人脸)default FaceAttributedetectCropedFace(BufferedImage image)人脸属性识别(裁剪后的人脸)default FaceAttributedetectCropedFace(String imagePath)人脸属性识别(裁剪后的人脸)default FaceAttributedetectTopFace(byte[] imageData)人脸属性识别(分数最高人脸)default FaceAttributedetectTopFace(BufferedImage image)人脸属性识别(分数最高人脸)default FaceAttributedetectTopFace(String imagePath)人脸属性识别(分数最高人脸)voidloadModel(FaceAttributeConfig config)加载模型
-
-
-
方法详细资料
-
loadModel
void loadModel(FaceAttributeConfig config)
加载模型- 参数:
config-
-
detect
default DetectionResponse detect(String imagePath)
人脸属性识别(多人脸)- 参数:
imagePath- 图片路径- 返回:
-
detect
default DetectionResponse detect(BufferedImage image)
人脸属性识别(多人脸)- 参数:
image- BufferedImage- 返回:
-
detect
default DetectionResponse detect(byte[] imageData)
人脸属性识别(多人脸)- 参数:
imageData- 图片字节流- 返回:
-
detect
default List<FaceAttribute> detect(String imagePath, DetectionResponse faceDetectionResponse)
人脸属性识别(多人脸)- 参数:
imagePath- 图片路径faceDetectionResponse- 人脸检测结果- 返回:
-
detect
default FaceAttribute detect(String imagePath, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
人脸属性识别(单人脸)- 参数:
imagePath- 图片路径faceDetectionRectangle- 人脸检测结果-人脸框- 返回:
-
detect
default List<FaceAttribute> detect(byte[] imageData, DetectionResponse faceDetectionResponse)
人脸属性识别(多人脸)- 参数:
imageData- 图片数据faceDetectionResponse- 人脸检测结果- 返回:
-
detect
default FaceAttribute detect(byte[] imageData, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
人脸属性识别(单人脸)- 参数:
imageData-faceDetectionRectangle- 人脸检测结果-人脸框- 返回:
-
detect
default List<FaceAttribute> detect(BufferedImage image, DetectionResponse faceDetectionResponse)
人脸属性识别(多人脸)- 参数:
image- BufferedImagefaceDetectionResponse- 人脸检测结果- 返回:
-
detect
default FaceAttribute detect(BufferedImage image, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
人脸属性识别(单人脸)- 参数:
image- BufferedImagefaceDetectionRectangle- 人脸检测结果-人脸框- 返回:
-
detectTopFace
default FaceAttribute detectTopFace(BufferedImage image)
人脸属性识别(分数最高人脸)- 参数:
image-- 返回:
-
detectTopFace
default FaceAttribute detectTopFace(String imagePath)
人脸属性识别(分数最高人脸)- 参数:
imagePath-- 返回:
-
detectTopFace
default FaceAttribute detectTopFace(byte[] imageData)
人脸属性识别(分数最高人脸)- 参数:
imageData-- 返回:
-
detectCropedFace
default FaceAttribute detectCropedFace(BufferedImage image)
人脸属性识别(裁剪后的人脸)- 参数:
image-- 返回:
-
detectCropedFace
default FaceAttribute detectCropedFace(String imagePath)
人脸属性识别(裁剪后的人脸)- 参数:
imagePath-- 返回:
-
detectCropedFace
default FaceAttribute detectCropedFace(byte[] imageData)
人脸属性识别(裁剪后的人脸)- 参数:
imageData-- 返回:
-
-