|
|
@@ -1,6 +1,5 @@
|
|
|
package com.zd.alg.face.handle;
|
|
|
|
|
|
-import cn.hutool.core.util.StrUtil;
|
|
|
import com.arcsoft.face.ActiveFileInfo;
|
|
|
import com.arcsoft.face.EngineConfiguration;
|
|
|
import com.arcsoft.face.FaceEngine;
|
|
|
@@ -16,7 +15,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.core.io.ClassPathResource;
|
|
|
-import org.springframework.core.io.FileSystemResource;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.io.File;
|
|
|
@@ -49,7 +47,7 @@ public class FaceEngineFactory {
|
|
|
|
|
|
public static String CACHE_LIB_FOLDER;
|
|
|
|
|
|
- public String ARC_FACE_VERSION = "3.0";
|
|
|
+ public static final String ARC_FACE_VERSION = "3.0";
|
|
|
|
|
|
//初始化一个图片模式引擎
|
|
|
public FaceEngine initFaceEngineImage() {
|