/*
* 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 RegionDetected : AbstractModel
{
///
/// 商品的品类预测结果。
/// 包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。
///
[JsonProperty("Category")]
public string Category{ get; set; }
///
/// 商品品类预测的置信度
///
[JsonProperty("CategoryScore")]
public float? CategoryScore{ get; set; }
///
/// 检测到的主体在图片中的坐标,表示为矩形框的四个顶点坐标
///
[JsonProperty("Location")]
public Location Location{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "Category", this.Category);
this.SetParamSimple(map, prefix + "CategoryScore", this.CategoryScore);
this.SetParamObj(map, prefix + "Location.", this.Location);
}
}
}