Constant.java 523 Bytes
package com.viontech.match.config;

/**
 * .
 *
 * @author 谢明辉
 * @date 2020/12/2
 */

public class Constant {

    /** 人脸特征维数 */
    public final static int FACE_FEATURE_DIMS = 512;
    /** 人体特征维数 */
    public final static int BODY_FEATURE_DIMS = 2048;

    /** poolId不存在时es返回的message所包含的字段 */
    public final static String STR_POOL_ID_ALREADY_EXISTS = "already_exists";

    /** 人脸匹配结果的数量 */
    public final static int MATCH_RESULT_SIZE = 5;
}