Files
g.hnyhua.cn/TencentCloud/Tiia/V20190529/Models/AssessQualityResponse.cs
2026-02-07 15:48:27 +08:00

93 lines
4.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Tiia.V20190529.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssessQualityResponse : AbstractModel
{
/// <summary>
/// 取值为TRUE或FALSETRUE为长图FALSE为正常图长图定义为长宽比大于等于3或小于等于1/3的图片。
/// </summary>
[JsonProperty("LongImage")]
public bool? LongImage{ get; set; }
/// <summary>
/// 取值为TRUE或FALSETRUE为黑白图FALSE为否。黑白图即灰度图指红绿蓝三个通道都是以灰度色阶显示的图片并非视觉上的“黑白图片”。
/// </summary>
[JsonProperty("BlackAndWhite")]
public bool? BlackAndWhite{ get; set; }
/// <summary>
/// 取值为TRUE或FALSETRUE为小图FALSE为否, 小图定义为最长边小于179像素的图片。当一张图片被判断为小图时不建议做推荐和展示其他字段统一输出为0或FALSE。
/// </summary>
[JsonProperty("SmallImage")]
public bool? SmallImage{ get; set; }
/// <summary>
/// 取值为TRUE或FALSETRUE为大图FALSE为否定义为最短边大于1000像素的图片
/// </summary>
[JsonProperty("BigImage")]
public bool? BigImage{ get; set; }
/// <summary>
/// 取值为TRUE或FALSETRUE为纯色图或纯文字图即没有内容或只有简单内容的图片FALSE为正常图片。
/// </summary>
[JsonProperty("PureImage")]
public bool? PureImage{ get; set; }
/// <summary>
/// 综合评分。图像清晰度的得分,对图片的噪声、曝光、模糊、压缩等因素进行综合评估,取值为[0, 100]值越大越清晰。一般大于50为较清晰图片标准可以自行把握。
/// </summary>
[JsonProperty("ClarityScore")]
public long? ClarityScore{ get; set; }
/// <summary>
/// 综合评分。图像美观度得分, 从构图、色彩等多个艺术性维度评价图片,取值为[0, 100]值越大越美观。一般大于50为较美观图片标准可以自行把握。
/// </summary>
[JsonProperty("AestheticScore")]
public long? AestheticScore{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "LongImage", this.LongImage);
this.SetParamSimple(map, prefix + "BlackAndWhite", this.BlackAndWhite);
this.SetParamSimple(map, prefix + "SmallImage", this.SmallImage);
this.SetParamSimple(map, prefix + "BigImage", this.BigImage);
this.SetParamSimple(map, prefix + "PureImage", this.PureImage);
this.SetParamSimple(map, prefix + "ClarityScore", this.ClarityScore);
this.SetParamSimple(map, prefix + "AestheticScore", this.AestheticScore);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}