代码修改后的版本,全部提交

This commit is contained in:
ss001
2026-02-07 15:48:27 +08:00
parent cccbaa37c9
commit c2cda58c65
15604 changed files with 2455502 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BodyDetectResult : AbstractModel
{
/// <summary>
/// 检测出的人体置信度。
/// 误识率百分之十对应的阈值是0.14误识率百分之五对应的阈值是0.32误识率百分之二对应的阈值是0.62误识率百分之一对应的阈值是0.81。
/// 通常情况建议使用阈值0.32,可适用大多数情况。
/// </summary>
[JsonProperty("Confidence")]
public float? Confidence{ get; set; }
/// <summary>
/// 图中检测出来的人体框
/// </summary>
[JsonProperty("BodyRect")]
public BodyRect BodyRect{ 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 + "Confidence", this.Confidence);
this.SetParamObj(map, prefix + "BodyRect.", this.BodyRect);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BodyRect : AbstractModel
{
/// <summary>
/// 人体框左上角横坐标。
/// </summary>
[JsonProperty("X")]
public ulong? X{ get; set; }
/// <summary>
/// 人体框左上角纵坐标。
/// </summary>
[JsonProperty("Y")]
public ulong? Y{ get; set; }
/// <summary>
/// 人体宽度。
/// </summary>
[JsonProperty("Width")]
public ulong? Width{ get; set; }
/// <summary>
/// 人体高度。
/// </summary>
[JsonProperty("Height")]
public ulong? Height{ 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 + "X", this.X);
this.SetParamSimple(map, prefix + "Y", this.Y);
this.SetParamSimple(map, prefix + "Width", this.Width);
this.SetParamSimple(map, prefix + "Height", this.Height);
}
}
}

View File

@@ -0,0 +1,62 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Candidate : AbstractModel
{
/// <summary>
/// 人员ID。
/// </summary>
[JsonProperty("PersonId")]
public string PersonId{ get; set; }
/// <summary>
/// 人体轨迹ID。
/// </summary>
[JsonProperty("TraceId")]
public string TraceId{ get; set; }
/// <summary>
/// 候选者的匹配得分。
/// 十万人体库下误识率百分之五对应的分数为70分误识率百分之二对应的分数为80分误识率百分之一对应的分数为90分。
///
/// 二十万人体库下误识率百分之五对应的分数为80分误识率百分之二对应的分数为90分误识率百分之一对应的分数为95分。
///
/// 通常情况建议使用分数80分保召回。若希望获得较高精度建议使用分数90分保准确
/// </summary>
[JsonProperty("Score")]
public float? Score{ 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 + "PersonId", this.PersonId);
this.SetParamSimple(map, prefix + "TraceId", this.TraceId);
this.SetParamSimple(map, prefix + "Score", this.Score);
}
}
}

View File

@@ -0,0 +1,66 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateGroupRequest : AbstractModel
{
/// <summary>
/// 人体库名称,[1,60]个字符,可修改,不可重复。
/// </summary>
[JsonProperty("GroupName")]
public string GroupName{ get; set; }
/// <summary>
/// 人体库 ID不可修改不可重复。支持英文、数字、-%@#&_长度限制64B。
/// </summary>
[JsonProperty("GroupId")]
public string GroupId{ get; set; }
/// <summary>
/// 人体库信息备注,[040]个字符。
/// </summary>
[JsonProperty("Tag")]
public string Tag{ get; set; }
/// <summary>
/// 人体识别所用的算法模型版本。
/// 目前入参仅支持 “1.0”1个输入。 默认为"1.0"。
/// 不同算法模型版本对应的人体识别算法不同,新版本的整体效果会优于旧版本,后续我们将推出更新版本。
/// </summary>
[JsonProperty("BodyModelVersion")]
public string BodyModelVersion{ 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 + "GroupName", this.GroupName);
this.SetParamSimple(map, prefix + "GroupId", this.GroupId);
this.SetParamSimple(map, prefix + "Tag", this.Tag);
this.SetParamSimple(map, prefix + "BodyModelVersion", this.BodyModelVersion);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateGroupResponse : AbstractModel
{
/// <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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,65 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreatePersonRequest : AbstractModel
{
/// <summary>
/// 待加入的人员库ID。
/// </summary>
[JsonProperty("GroupId")]
public string GroupId{ get; set; }
/// <summary>
/// 人员名称。[160]个字符,可修改,可重复。
/// </summary>
[JsonProperty("PersonName")]
public string PersonName{ get; set; }
/// <summary>
/// 人员ID单个腾讯云账号下不可修改不可重复。
/// 支持英文、数字、-%@#&_长度限制64B。
/// </summary>
[JsonProperty("PersonId")]
public string PersonId{ get; set; }
/// <summary>
/// 人体轨迹信息。
/// </summary>
[JsonProperty("Trace")]
public Trace Trace{ 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 + "GroupId", this.GroupId);
this.SetParamSimple(map, prefix + "PersonName", this.PersonName);
this.SetParamSimple(map, prefix + "PersonId", this.PersonId);
this.SetParamObj(map, prefix + "Trace.", this.Trace);
}
}
}

View File

@@ -0,0 +1,75 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreatePersonResponse : AbstractModel
{
/// <summary>
/// 人员轨迹唯一标识。
/// </summary>
[JsonProperty("TraceId")]
public string TraceId{ get; set; }
/// <summary>
/// 人体识别所用的算法模型版本。
/// </summary>
[JsonProperty("BodyModelVersion")]
public string BodyModelVersion{ get; set; }
/// <summary>
/// 输入的人体轨迹图片中的合法性校验结果。
/// 只有为0时结果才有意义。
/// -1001: 输入图片不合法。-1002: 输入图片不能构成轨迹。
/// </summary>
[JsonProperty("InputRetCode")]
public long? InputRetCode{ get; set; }
/// <summary>
/// 输入的人体轨迹图片中的合法性校验结果详情。
/// -1101:图片无效,-1102:url不合法。-1103:图片过大。-1104:图片下载失败。-1105:图片解码失败。-1109:图片分辨率过高。-2023:轨迹中有非同人图片。-2024: 轨迹提取失败。-2025: 人体检测失败。
/// RetCode 的顺序和入参中Images 或 Urls 的顺序一致。
/// </summary>
[JsonProperty("InputRetCodeDetails")]
public long?[] InputRetCodeDetails{ 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 + "TraceId", this.TraceId);
this.SetParamSimple(map, prefix + "BodyModelVersion", this.BodyModelVersion);
this.SetParamSimple(map, prefix + "InputRetCode", this.InputRetCode);
this.SetParamArraySimple(map, prefix + "InputRetCodeDetails.", this.InputRetCodeDetails);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateTraceRequest : AbstractModel
{
/// <summary>
/// 人员ID。
/// </summary>
[JsonProperty("PersonId")]
public string PersonId{ get; set; }
/// <summary>
/// 人体轨迹信息。
/// </summary>
[JsonProperty("Trace")]
public Trace Trace{ 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 + "PersonId", this.PersonId);
this.SetParamObj(map, prefix + "Trace.", this.Trace);
}
}
}

View File

@@ -0,0 +1,74 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateTraceResponse : AbstractModel
{
/// <summary>
/// 人员轨迹唯一标识。
/// </summary>
[JsonProperty("TraceId")]
public string TraceId{ get; set; }
/// <summary>
/// 人体识别所用的算法模型版本。
/// </summary>
[JsonProperty("BodyModelVersion")]
public string BodyModelVersion{ get; set; }
/// <summary>
/// 输入的人体轨迹图片中的合法性校验结果。
/// 只有为0时结果才有意义。
/// -1001: 输入图片不合法。-1002: 输入图片不能构成轨迹。
/// </summary>
[JsonProperty("InputRetCode")]
public long? InputRetCode{ get; set; }
/// <summary>
/// 输入的人体轨迹图片中的合法性校验结果详情。
/// -1101:图片无效,-1102:url不合法。-1103:图片过大。-1104:图片下载失败。-1105:图片解码失败。-1109:图片分辨率过高。-2023:轨迹中有非同人图片。-2024: 轨迹提取失败。-2025: 人体检测失败。
/// </summary>
[JsonProperty("InputRetCodeDetails")]
public long?[] InputRetCodeDetails{ 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 + "TraceId", this.TraceId);
this.SetParamSimple(map, prefix + "BodyModelVersion", this.BodyModelVersion);
this.SetParamSimple(map, prefix + "InputRetCode", this.InputRetCode);
this.SetParamArraySimple(map, prefix + "InputRetCodeDetails.", this.InputRetCodeDetails);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeleteGroupRequest : AbstractModel
{
/// <summary>
/// 人体库ID。
/// </summary>
[JsonProperty("GroupId")]
public string GroupId{ 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 + "GroupId", this.GroupId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeleteGroupResponse : AbstractModel
{
/// <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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeletePersonRequest : AbstractModel
{
/// <summary>
/// 人员ID。
/// </summary>
[JsonProperty("PersonId")]
public string PersonId{ 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 + "PersonId", this.PersonId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeletePersonResponse : AbstractModel
{
/// <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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,66 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DetectBodyRequest : AbstractModel
{
/// <summary>
/// 人体图片 Base64 数据。
/// 图片 base64 编码后大小不可超过5M。
/// 图片分辨率不得超过 2048*2048。
/// 支持PNG、JPG、JPEG、BMP不支持 GIF 图片。
/// </summary>
[JsonProperty("Image")]
public string Image{ get; set; }
/// <summary>
/// 人体图片 Url 。
/// Url、Image必须提供一个如果都提供只使用 Url。
/// 图片 base64 编码后大小不可超过5M。
/// 图片分辨率不得超过 2048*2048。
/// 图片存储于腾讯云的Url可保障更高下载速度和稳定性建议图片存储于腾讯云。
/// 非腾讯云存储的Url速度和稳定性可能受一定影响。
/// 支持PNG、JPG、JPEG、BMP不支持 GIF 图片。
/// </summary>
[JsonProperty("Url")]
public string Url{ get; set; }
/// <summary>
/// 最多检测的人体数目默认值为1仅检测图片中面积最大的那个人体 最大值10 检测图片中面积最大的10个人体。
/// </summary>
[JsonProperty("MaxBodyNum")]
public ulong? MaxBodyNum{ 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 + "Image", this.Image);
this.SetParamSimple(map, prefix + "Url", this.Url);
this.SetParamSimple(map, prefix + "MaxBodyNum", this.MaxBodyNum);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DetectBodyResponse : AbstractModel
{
/// <summary>
/// 图中检测出来的人体框。
/// </summary>
[JsonProperty("BodyDetectResults")]
public BodyDetectResult[] BodyDetectResults{ get; set; }
/// <summary>
/// 人体识别所用的算法模型版本。
/// </summary>
[JsonProperty("BodyModelVersion")]
public string BodyModelVersion{ 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.SetParamArrayObj(map, prefix + "BodyDetectResults.", this.BodyDetectResults);
this.SetParamSimple(map, prefix + "BodyModelVersion", this.BodyModelVersion);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GetGroupListRequest : AbstractModel
{
/// <summary>
/// 起始序号默认值为0。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 返回数量默认值为10最大值为1000。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ 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 + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GetGroupListResponse : AbstractModel
{
/// <summary>
/// 返回的人体库信息。
/// </summary>
[JsonProperty("GroupInfos")]
public GroupInfo[] GroupInfos{ get; set; }
/// <summary>
/// 人体库总数量。
/// </summary>
[JsonProperty("GroupNum")]
public ulong? GroupNum{ 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.SetParamArrayObj(map, prefix + "GroupInfos.", this.GroupInfos);
this.SetParamSimple(map, prefix + "GroupNum", this.GroupNum);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GetPersonListRequest : AbstractModel
{
/// <summary>
/// 人体库ID。
/// </summary>
[JsonProperty("GroupId")]
public string GroupId{ get; set; }
/// <summary>
/// 起始序号默认值为0。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 返回数量默认值为10最大值为1000。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ 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 + "GroupId", this.GroupId);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GetPersonListResponse : AbstractModel
{
/// <summary>
/// 返回的人员信息。
/// </summary>
[JsonProperty("PersonInfos")]
public PersonInfo[] PersonInfos{ get; set; }
/// <summary>
/// 该人体库的人员数量。
/// </summary>
[JsonProperty("PersonNum")]
public ulong? PersonNum{ get; set; }
/// <summary>
/// 人体识别所用的算法模型版本。
/// </summary>
[JsonProperty("BodyModelVersion")]
public string BodyModelVersion{ 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.SetParamArrayObj(map, prefix + "PersonInfos.", this.PersonInfos);
this.SetParamSimple(map, prefix + "PersonNum", this.PersonNum);
this.SetParamSimple(map, prefix + "BodyModelVersion", this.BodyModelVersion);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,72 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class GroupInfo : AbstractModel
{
/// <summary>
/// 人体库名称。
/// </summary>
[JsonProperty("GroupName")]
public string GroupName{ get; set; }
/// <summary>
/// 人体库ID。
/// </summary>
[JsonProperty("GroupId")]
public string GroupId{ get; set; }
/// <summary>
/// 人体库信息备注。
/// </summary>
[JsonProperty("Tag")]
public string Tag{ get; set; }
/// <summary>
/// 人体识别所用的算法模型版本。
/// </summary>
[JsonProperty("BodyModelVersion")]
public string BodyModelVersion{ get; set; }
/// <summary>
/// Group的创建时间和日期 CreationTimestamp。CreationTimestamp 的值是自 Unix 纪元时间到Group创建时间的毫秒数。
/// Unix 纪元时间是 1970 年 1 月 1 日星期四,协调世界时 (UTC) 。
/// </summary>
[JsonProperty("CreationTimestamp")]
public ulong? CreationTimestamp{ 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 + "GroupName", this.GroupName);
this.SetParamSimple(map, prefix + "GroupId", this.GroupId);
this.SetParamSimple(map, prefix + "Tag", this.Tag);
this.SetParamSimple(map, prefix + "BodyModelVersion", this.BodyModelVersion);
this.SetParamSimple(map, prefix + "CreationTimestamp", this.CreationTimestamp);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyGroupRequest : AbstractModel
{
/// <summary>
/// 人体库ID。
/// </summary>
[JsonProperty("GroupId")]
public string GroupId{ get; set; }
/// <summary>
/// 人体库名称。
/// </summary>
[JsonProperty("GroupName")]
public string GroupName{ get; set; }
/// <summary>
/// 人体库信息备注。
/// </summary>
[JsonProperty("Tag")]
public string Tag{ 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 + "GroupId", this.GroupId);
this.SetParamSimple(map, prefix + "GroupName", this.GroupName);
this.SetParamSimple(map, prefix + "Tag", this.Tag);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyGroupResponse : AbstractModel
{
/// <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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyPersonInfoRequest : AbstractModel
{
/// <summary>
/// 人员ID。
/// </summary>
[JsonProperty("PersonId")]
public string PersonId{ get; set; }
/// <summary>
/// 人员名称。
/// </summary>
[JsonProperty("PersonName")]
public string PersonName{ 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 + "PersonId", this.PersonId);
this.SetParamSimple(map, prefix + "PersonName", this.PersonName);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyPersonInfoResponse : AbstractModel
{
/// <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 + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class PersonInfo : AbstractModel
{
/// <summary>
/// 人员名称。
/// </summary>
[JsonProperty("PersonName")]
public string PersonName{ get; set; }
/// <summary>
/// 人员ID。
/// </summary>
[JsonProperty("PersonId")]
public string PersonId{ get; set; }
/// <summary>
/// 包含的人体轨迹图片信息列表。
/// </summary>
[JsonProperty("TraceInfos")]
public TraceInfo[] TraceInfos{ 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 + "PersonName", this.PersonName);
this.SetParamSimple(map, prefix + "PersonId", this.PersonId);
this.SetParamArrayObj(map, prefix + "TraceInfos.", this.TraceInfos);
}
}
}

View File

@@ -0,0 +1,67 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class SearchTraceRequest : AbstractModel
{
/// <summary>
/// 希望搜索的人体库ID。
/// </summary>
[JsonProperty("GroupId")]
public string GroupId{ get; set; }
/// <summary>
/// 人体轨迹信息。
/// </summary>
[JsonProperty("Trace")]
public Trace Trace{ get; set; }
/// <summary>
/// 单张被识别的人体轨迹返回的最相似人员数量。
/// 默认值为5最大值为100。
/// 例设MaxPersonNum为8则返回Top8相似的人员信息。 值越大需要处理的时间越长。建议不要超过10。
/// </summary>
[JsonProperty("MaxPersonNum")]
public ulong? MaxPersonNum{ get; set; }
/// <summary>
/// 出参Score中只有超过TraceMatchThreshold值的结果才会返回。
/// 默认为0。范围[0, 100.0]。
/// </summary>
[JsonProperty("TraceMatchThreshold")]
public float? TraceMatchThreshold{ 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 + "GroupId", this.GroupId);
this.SetParamObj(map, prefix + "Trace.", this.Trace);
this.SetParamSimple(map, prefix + "MaxPersonNum", this.MaxPersonNum);
this.SetParamSimple(map, prefix + "TraceMatchThreshold", this.TraceMatchThreshold);
}
}
}

View File

@@ -0,0 +1,74 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class SearchTraceResponse : AbstractModel
{
/// <summary>
/// 识别出的最相似候选人。
/// </summary>
[JsonProperty("Candidates")]
public Candidate[] Candidates{ get; set; }
/// <summary>
/// 输入的人体轨迹图片中的合法性校验结果。
/// 只有为0时结果才有意义。
/// -1001: 输入图片不合法。-1002: 输入图片不能构成轨迹。
/// </summary>
[JsonProperty("InputRetCode")]
public long? InputRetCode{ get; set; }
/// <summary>
/// 输入的人体轨迹图片中的合法性校验结果详情。
/// -1101:图片无效,-1102:url不合法。-1103:图片过大。-1104:图片下载失败。-1105:图片解码失败。-1109:图片分辨率过高。-2023:轨迹中有非同人图片。-2024: 轨迹提取失败。-2025: 人体检测失败。
/// </summary>
[JsonProperty("InputRetCodeDetails")]
public long?[] InputRetCodeDetails{ get; set; }
/// <summary>
/// 人体识别所用的算法模型版本。
/// </summary>
[JsonProperty("BodyModelVersion")]
public string BodyModelVersion{ 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.SetParamArrayObj(map, prefix + "Candidates.", this.Candidates);
this.SetParamSimple(map, prefix + "InputRetCode", this.InputRetCode);
this.SetParamArraySimple(map, prefix + "InputRetCodeDetails.", this.InputRetCodeDetails);
this.SetParamSimple(map, prefix + "BodyModelVersion", this.BodyModelVersion);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class SegmentPortraitPicRequest : AbstractModel
{
/// <summary>
/// 图片 base64 数据base64 编码后大小不可超过5M。
/// 图片分辨率须小于2000*2000。
/// 支持PNG、JPG、JPEG、BMP不支持 GIF 图片。
/// </summary>
[JsonProperty("Image")]
public string Image{ get; set; }
/// <summary>
/// 图片的 Url 。
/// Url、Image必须提供一个如果都提供只使用 Url。
/// 图片分辨率须小于2000*2000 ,图片 base64 编码后大小不可超过5M。
/// 图片存储于腾讯云的Url可保障更高下载速度和稳定性建议图片存储于腾讯云。
/// 非腾讯云存储的Url速度和稳定性可能受一定影响。
/// 支持PNG、JPG、JPEG、BMP不支持 GIF 图片。
/// </summary>
[JsonProperty("Url")]
public string Url{ 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 + "Image", this.Image);
this.SetParamSimple(map, prefix + "Url", this.Url);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class SegmentPortraitPicResponse : AbstractModel
{
/// <summary>
/// 处理后的图片 base64 数据,透明背景图
/// </summary>
[JsonProperty("ResultImage")]
public string ResultImage{ get; set; }
/// <summary>
/// 一个通过 Base64 编码的文件,解码后文件由 Float 型浮点数组成。这些浮点数代表原图从左上角开始的每一行的每一个像素点每一个浮点数的值是原图相应像素点位于人体轮廓内的置信度0-1转化的灰度值0-255
/// </summary>
[JsonProperty("ResultMask")]
public string ResultMask{ 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 + "ResultImage", this.ResultImage);
this.SetParamSimple(map, prefix + "ResultMask", this.ResultMask);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,69 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Trace : AbstractModel
{
/// <summary>
/// 人体轨迹图片 Base64 数组。
/// 数组长度最小为1最大为5。
/// 单个图片 base64 编码后大小不可超过2M。
/// 支持PNG、JPG、JPEG、BMP不支持 GIF 图片。
/// </summary>
[JsonProperty("Images")]
public string[] Images{ get; set; }
/// <summary>
/// 人体轨迹图片 Url 数组。
/// 数组长度最小为1最大为5。
/// 单个图片 base64 编码后大小不可超过2M。
/// Urls、Images必须提供一个如果都提供只使用 Urls。
/// 图片存储于腾讯云的Url可保障更高下载速度和稳定性建议图片存储于腾讯云。
/// 非腾讯云存储的Url速度和稳定性可能受一定影响。
/// 支持PNG、JPG、JPEG、BMP不支持 GIF 图片。
/// </summary>
[JsonProperty("Urls")]
public string[] Urls{ get; set; }
/// <summary>
/// 若输入的Images 和 Urls 是已经裁剪后的人体小图,则可以忽略本参数。
/// 若否,或图片中包含多个人体,则需要通过本参数来指定图片中的人体框。
/// 顺序对应 Images 或 Urls 中的顺序。
/// 当不输入本参数时,我们将认为输入图片已是经过裁剪后的人体小图,不会进行人体检测而直接进行特征提取处理。
/// </summary>
[JsonProperty("BodyRects")]
public BodyRect[] BodyRects{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "Images.", this.Images);
this.SetParamArraySimple(map, prefix + "Urls.", this.Urls);
this.SetParamArrayObj(map, prefix + "BodyRects.", this.BodyRects);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Bda.V20200324.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class TraceInfo : AbstractModel
{
/// <summary>
/// 人体轨迹ID。
/// </summary>
[JsonProperty("TraceId")]
public string TraceId{ get; set; }
/// <summary>
/// 包含的人体轨迹图片Id列表。
/// </summary>
[JsonProperty("BodyIds")]
public string[] BodyIds{ 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 + "TraceId", this.TraceId);
this.SetParamArraySimple(map, prefix + "BodyIds.", this.BodyIds);
}
}
}