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

com.aiwiown.face.domain.AppVerifyModel Maven / Gradle / Ivy

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

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

import java.io.File;

/**
 * @ClassName : AppVerifyModel
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-03-15 18:45
 */
public class AppVerifyModel extends ApiObject {
    private static final long serialVersionUID = -4646926946159480251L;

    /**
     * 通过”App-GetBizToken“ API接口获取到的biz_token
     */
    @ApiField("biz_token")
    private String bizToken;

    /**
     * 若在App-GetBizToken时,使用的活体类型参数为meglive、still、flash(即:liveness_type = meglive 或 liveness_type = still 或 liveness_type = flash),则此参数为必选参数。此参数需要上传由FaceID MegLiveStill SDK 3.0及以上版本生成的数据,内容包括活体验证过程中的数据,和采集到的人脸数据。请不要对数据包做任何调整,直接提交接口即可。
     * 若在App-GetBizToken时,使用的活体类型参数为raw_image(即:liveness_type = raw_image),则此参数为可选参数,API会返回在App-GetBizToken时传递的带人脸图片的比对结果。
     */
    @ApiField(value = "meglive_data", isFile = true)
    private File megliveData;

    public String getBizToken() {
        return bizToken;
    }

    public void setBizToken(String bizToken) {
        this.bizToken = bizToken;
    }

    public File getMegliveData() {
        return megliveData;
    }

    public void setMegliveData(File megliveData) {
        this.megliveData = megliveData;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy