Files
g.hnyhua.cn/TencentCloud/Tci/V20190318/Models/SubmitImageTaskRequest.cs
2026-02-07 15:48:27 +08:00

100 lines
3.7 KiB
C#
Raw Permalink 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.Tci.V20190318.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class SubmitImageTaskRequest : AbstractModel
{
/// <summary>
/// 输入分析对象内容输入数据格式参考FileType参数释义
/// </summary>
[JsonProperty("FileContent")]
public string FileContent{ get; set; }
/// <summary>
/// 输入分析对象类型picture二进制图片的 base64 编码字符串picture_url:图片地址vod_url视频地址live_url直播地址
/// </summary>
[JsonProperty("FileType")]
public string FileType{ get; set; }
/// <summary>
/// 任务控制选项
/// </summary>
[JsonProperty("Functions")]
public ImageTaskFunction Functions{ get; set; }
/// <summary>
/// 光照标准列表
/// </summary>
[JsonProperty("LightStandardSet")]
public LightStandard[] LightStandardSet{ get; set; }
/// <summary>
/// 结果更新回调地址。
/// </summary>
[JsonProperty("EventsCallBack")]
public string EventsCallBack{ get; set; }
/// <summary>
/// 抽帧的时间间隔单位毫秒默认值1000保留字段当前不支持填写。
/// </summary>
[JsonProperty("FrameInterval")]
public long? FrameInterval{ get; set; }
/// <summary>
/// 查询人员库列表
/// </summary>
[JsonProperty("LibrarySet")]
public string[] LibrarySet{ get; set; }
/// <summary>
/// 视频评估时间单位秒点播场景默认值为2小时无法探测长度时或完整视频直播场景默认值为10分钟或直播提前结束
/// </summary>
[JsonProperty("MaxVideoDuration")]
public long? MaxVideoDuration{ get; set; }
/// <summary>
/// 人脸识别中的相似度阈值默认值为0.89,保留字段,当前不支持填写。
/// </summary>
[JsonProperty("SimThreshold")]
public float? SimThreshold{ 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 + "FileContent", this.FileContent);
this.SetParamSimple(map, prefix + "FileType", this.FileType);
this.SetParamObj(map, prefix + "Functions.", this.Functions);
this.SetParamArrayObj(map, prefix + "LightStandardSet.", this.LightStandardSet);
this.SetParamSimple(map, prefix + "EventsCallBack", this.EventsCallBack);
this.SetParamSimple(map, prefix + "FrameInterval", this.FrameInterval);
this.SetParamArraySimple(map, prefix + "LibrarySet.", this.LibrarySet);
this.SetParamSimple(map, prefix + "MaxVideoDuration", this.MaxVideoDuration);
this.SetParamSimple(map, prefix + "SimThreshold", this.SimThreshold);
}
}
}