All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aiwiown.face.domain.verify.Liveness Maven / Gradle / Ivy

There is a newer version: 3.0.9
Show newest version
package com.aiwiown.face.domain.verify;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;

/**
 * 
 *     本字段结构体表示流程验证结果、活体检测的结果。
 * 
* Liveness * Date: 2020/5/12 0012 * Time: 15:32 * * @author [email protected] */ public class Liveness extends ApiObject { /** * 流程验证的结果,它取如下值: * "PASSED":流程验证通过。 * "VIDEO_SR_ERROR":语音识别结果与要求不符。(仅当视频验证流程时) * "VIDEO_NOT_SYNCHRONIZED":视频中唇语识别错误。(仅当视频验证流程时) * "VIDEO_FACE_INCONSISTENT": 视频过程中的人脸不一致 * "SELFIE_INCONSISTENT":正脸侧脸照不一致 。(仅双角度活体验证时) * "SELFIE_METADATA_INCONSISTENT":正侧脸照的照片不都为JPG编码、或者元信息不一致。(仅双角度活体验证时,且liveness_preferences不为“selfie_no_metadata_check”;对此项的判定优先于对“SELFIE_INCONSISTENT”的判定。) */ @ApiField("procedure_validation") private String procedureValidation; /** * 假脸攻击判定的结果,它取如下值: * “PASSED”:不是假脸。 * “MASK”:面具攻击。 * “SCREEN_REPLAY”:屏幕翻拍。 * “FACEGEN”:软件合成脸。 */ @ApiField("face_genuineness") private String faceGenuineness; public String getProcedureValidation() { return procedureValidation; } public void setProcedureValidation(String procedureValidation) { this.procedureValidation = procedureValidation; } public String getFaceGenuineness() { return faceGenuineness; } public void setFaceGenuineness(String faceGenuineness) { this.faceGenuineness = faceGenuineness; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy