支持离线下载模型

This commit is contained in:
dengwenjie
2025-02-26 11:23:39 +08:00
parent e1aebbf37d
commit 685727e67c
15 changed files with 447 additions and 309 deletions

View File

@@ -20,6 +20,13 @@ public interface FaceAlgorithm {
*/
void loadModel(ModelConfig config) throws Exception; // 加载模型
/**
* 加载人脸特征提取模型
* @param config
* @throws Exception
*/
void loadFaceFeatureModel(ModelConfig config) throws Exception; // 加载模型
/**
* 人脸检测
* @param imagePath 图片路径