| 12345678910111213141516171819202122232425262728 |
- package com.dt.ykt.face.config.arcface;
- import lombok.Data;
- import org.springframework.boot.context.properties.ConfigurationProperties;
- import org.springframework.context.annotation.Configuration;
- /**
- * 虹软人脸算法配置
- * 本接口用于存放算法相关的常量字符串,便于统一管理和维护。
- *
- * @author luoyibo
- * @date 2025-07-13
- * @since JDK17
- */
- @Data
- @Configuration
- @ConfigurationProperties(prefix = "face.arc")
- public class ArcFaceConfig {
- // 获取配置参数
- private String sdkLibPath = "";
- private String appId = "";
- private String sdkKey = "";
- private String activeKey = "";
- private Integer detectPooSize = 5;
- private Integer comparePooSize = 5;
- private Float faceQuality = 0.6F;
- private boolean faceMask = false;
- }
|