mirror of
https://gitee.com/open-visual/face-search.git
synced 2025-07-25 19:41:42 +08:00
update:添加SeetaFace6Open的人脸特征提起模型
This commit is contained in:
parent
5e9348e59c
commit
4eca8aa2cf
@ -202,6 +202,10 @@ public class ModelConfig {
|
|||||||
return new String[]{basePath + "model/onnx/recognition_face_arc/glint360k_cosface_r18_fp16_0.1.onnx"};
|
return new String[]{basePath + "model/onnx/recognition_face_arc/glint360k_cosface_r18_fp16_0.1.onnx"};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if((null == modelPath || modelPath.length != 1) && "SeetaFaceOpenRecognition".equalsIgnoreCase(modelName)){
|
||||||
|
return new String[]{basePath + "model/onnx/recognition_face_seeta/face_recognizer_512.onnx"};
|
||||||
|
}
|
||||||
|
|
||||||
if((null == modelPath || modelPath.length != 1) && "InsightAttributeDetection".equalsIgnoreCase(modelName)){
|
if((null == modelPath || modelPath.length != 1) && "InsightAttributeDetection".equalsIgnoreCase(modelName)){
|
||||||
return new String[]{basePath + "model/onnx/attribute_gender_age/insight_gender_age.onnx"};
|
return new String[]{basePath + "model/onnx/attribute_gender_age/insight_gender_age.onnx"};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user