public class Seetaface6FaceAttributeModel extends Object implements FaceAttributeModel
| 构造器和说明 |
|---|
Seetaface6FaceAttributeModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
DetectionResponse |
detect(BufferedImage image)
人脸属性识别(多人脸)
|
FaceAttribute |
detect(BufferedImage image,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints)
人脸属性识别(单人脸)
|
List<FaceAttribute> |
detect(BufferedImage image,
DetectionResponse faceDetectionResponse)
人脸属性识别(多人脸)
|
DetectionResponse |
detect(byte[] imageData)
人脸属性识别(多人脸)
|
FaceAttribute |
detect(byte[] imageData,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints)
人脸属性识别(单人脸)
|
List<FaceAttribute> |
detect(byte[] imageData,
DetectionResponse faceDetectionResponse)
人脸属性识别(多人脸)
|
DetectionResponse |
detect(ai.djl.modality.cv.Image image)
人脸属性识别(多人脸)
|
FaceAttribute |
detect(ai.djl.modality.cv.Image image,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints)
人脸属性识别(单人脸)
|
List<FaceAttribute> |
detect(ai.djl.modality.cv.Image image,
DetectionResponse faceDetectionResponse)
人脸属性识别(多人脸)
|
DetectionResponse |
detect(String imagePath)
人脸属性识别(多人脸)
|
FaceAttribute |
detect(String imagePath,
DetectionRectangle faceDetectionRectangle,
List<Point> keyPoints)
人脸属性识别(单人脸)
|
List<FaceAttribute> |
detect(String imagePath,
DetectionResponse faceDetectionResponse)
人脸属性识别(多人脸)
|
FaceAttribute |
detectTopFace(BufferedImage image)
人脸属性识别(分数最高人脸)
|
FaceAttribute |
detectTopFace(byte[] imageData)
人脸属性识别(分数最高人脸)
|
FaceAttribute |
detectTopFace(ai.djl.modality.cv.Image image)
人脸属性识别(分数最高人脸)
|
FaceAttribute |
detectTopFace(String imagePath)
人脸属性识别(分数最高人脸)
|
com.seeta.pool.AgePredictorPool |
getAgePredictorPool() |
com.seeta.pool.EyeStateDetectorPool |
getEyeStateDetectorPool() |
com.seeta.pool.FaceDetectorPool |
getFaceDetectorPool() |
com.seeta.pool.FaceLandmarkerPool |
getFaceLandmarkerPool() |
com.seeta.pool.GenderPredictorPool |
getGenderPredictorPool() |
com.seeta.pool.MaskDetectorPool |
getMaskDetectorPool() |
com.seeta.pool.PoseEstimatorPool |
getPoseEstimatorPool() |
boolean |
isFromFactory() |
void |
loadModel(FaceAttributeConfig config)
加载模型
|
void |
setFromFactory(boolean fromFactory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetectCropedFace, detectCropedFace, detectCropedFace, detectCropedFacepublic void loadModel(FaceAttributeConfig config)
FaceAttributeModelloadModel 在接口中 FaceAttributeModelpublic DetectionResponse detect(String imagePath)
FaceAttributeModeldetect 在接口中 FaceAttributeModelimagePath - 图片路径public DetectionResponse detect(byte[] imageData)
FaceAttributeModeldetect 在接口中 FaceAttributeModelimageData - 图片字节流public DetectionResponse detect(BufferedImage image)
FaceAttributeModeldetect 在接口中 FaceAttributeModelimage - BufferedImagepublic List<FaceAttribute> detect(String imagePath, DetectionResponse faceDetectionResponse)
FaceAttributeModeldetect 在接口中 FaceAttributeModelimagePath - 图片路径faceDetectionResponse - 人脸检测结果public List<FaceAttribute> detect(byte[] imageData, DetectionResponse faceDetectionResponse)
FaceAttributeModeldetect 在接口中 FaceAttributeModelimageData - 图片数据faceDetectionResponse - 人脸检测结果public List<FaceAttribute> detect(BufferedImage image, DetectionResponse faceDetectionResponse)
FaceAttributeModeldetect 在接口中 FaceAttributeModelimage - BufferedImagefaceDetectionResponse - 人脸检测结果public FaceAttribute detect(String imagePath, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
FaceAttributeModeldetect 在接口中 FaceAttributeModelimagePath - 图片路径faceDetectionRectangle - 人脸检测结果-人脸框public FaceAttribute detect(byte[] imageData, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
FaceAttributeModeldetect 在接口中 FaceAttributeModelfaceDetectionRectangle - 人脸检测结果-人脸框public FaceAttribute detect(BufferedImage image, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
FaceAttributeModeldetect 在接口中 FaceAttributeModelimage - BufferedImagefaceDetectionRectangle - 人脸检测结果-人脸框public FaceAttribute detectTopFace(String imagePath)
FaceAttributeModeldetectTopFace 在接口中 FaceAttributeModelpublic FaceAttribute detectTopFace(byte[] imageData)
FaceAttributeModeldetectTopFace 在接口中 FaceAttributeModelpublic FaceAttribute detectTopFace(BufferedImage image)
FaceAttributeModeldetectTopFace 在接口中 FaceAttributeModelpublic DetectionResponse detect(ai.djl.modality.cv.Image image)
FaceAttributeModeldetect 在接口中 FaceAttributeModelpublic List<FaceAttribute> detect(ai.djl.modality.cv.Image image, DetectionResponse faceDetectionResponse)
FaceAttributeModeldetect 在接口中 FaceAttributeModelfaceDetectionResponse - 人脸检测结果public FaceAttribute detect(ai.djl.modality.cv.Image image, DetectionRectangle faceDetectionRectangle, List<Point> keyPoints)
FaceAttributeModeldetect 在接口中 FaceAttributeModelfaceDetectionRectangle - 人脸检测结果-人脸框public FaceAttribute detectTopFace(ai.djl.modality.cv.Image image)
FaceAttributeModeldetectTopFace 在接口中 FaceAttributeModelpublic com.seeta.pool.FaceDetectorPool getFaceDetectorPool()
public com.seeta.pool.GenderPredictorPool getGenderPredictorPool()
public com.seeta.pool.FaceLandmarkerPool getFaceLandmarkerPool()
public com.seeta.pool.AgePredictorPool getAgePredictorPool()
public com.seeta.pool.EyeStateDetectorPool getEyeStateDetectorPool()
public com.seeta.pool.MaskDetectorPool getMaskDetectorPool()
public com.seeta.pool.PoseEstimatorPool getPoseEstimatorPool()
public void setFromFactory(boolean fromFactory)
setFromFactory 在接口中 FaceAttributeModelpublic boolean isFromFactory()
public void close()
throws Exception
close 在接口中 AutoCloseableExceptionCopyright © 2025. All rights reserved.