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

com.lark.oapi.service.face_detection.v1.model.FaceQuality Maven / Gradle / Ivy

// Code generated by lark suite oapi sdk gen
/*
 * MIT License
 *
 * Copyright (c) 2022 Lark Technologies Pte. Ltd.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice, shall be included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

package com.lark.oapi.service.face_detection.v1.model;

import com.google.gson.annotations.SerializedName;

public class FaceQuality {
    /**
     * 清晰度,值越高越清晰
     * 

示例值:0.77 */ @SerializedName("sharpness") private Double sharpness; /** * 亮度 *

示例值:0.6 */ @SerializedName("brightness") private Double brightness; /** * 面部遮挡属性 *

示例值: */ @SerializedName("occlude") private FaceOcclude occlude; // builder 开始 public FaceQuality() { } public FaceQuality(Builder builder) { /** * 清晰度,值越高越清晰 *

示例值:0.77 */ this.sharpness = builder.sharpness; /** * 亮度 *

示例值:0.6 */ this.brightness = builder.brightness; /** * 面部遮挡属性 *

示例值: */ this.occlude = builder.occlude; } public static Builder newBuilder() { return new Builder(); } public Double getSharpness() { return this.sharpness; } public void setSharpness(Double sharpness) { this.sharpness = sharpness; } public Double getBrightness() { return this.brightness; } public void setBrightness(Double brightness) { this.brightness = brightness; } public FaceOcclude getOcclude() { return this.occlude; } public void setOcclude(FaceOcclude occlude) { this.occlude = occlude; } public static class Builder { /** * 清晰度,值越高越清晰 *

示例值:0.77 */ private Double sharpness; /** * 亮度 *

示例值:0.6 */ private Double brightness; /** * 面部遮挡属性 *

示例值: */ private FaceOcclude occlude; /** * 清晰度,值越高越清晰 *

示例值:0.77 * * @param sharpness * @return */ public Builder sharpness(Double sharpness) { this.sharpness = sharpness; return this; } /** * 亮度 *

示例值:0.6 * * @param brightness * @return */ public Builder brightness(Double brightness) { this.brightness = brightness; return this; } /** * 面部遮挡属性 *

示例值: * * @param occlude * @return */ public Builder occlude(FaceOcclude occlude) { this.occlude = occlude; return this; } public FaceQuality build() { return new FaceQuality(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy