update:添加SeetaFace6Open的人脸特征提起模型

This commit is contained in:
divenswu 2023-04-24 17:28:50 +08:00
parent 5e9348e59c
commit 4eca8aa2cf
2 changed files with 4 additions and 0 deletions

View File

@ -202,6 +202,10 @@ public class ModelConfig {
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)){
return new String[]{basePath + "model/onnx/attribute_gender_age/insight_gender_age.onnx"};
}