Class: TencentCloud::Mps::V20190612::AIRecognitionTemplateItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190612/models.rb

Overview

视频内容识别模板详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(definition = nil, name = nil, comment = nil, faceconfigure = nil, ocrfulltextconfigure = nil, ocrwordsconfigure = nil, asrfulltextconfigure = nil, asrwordsconfigure = nil, translateconfigure = nil, createtime = nil, updatetime = nil, type = nil) ⇒ AIRecognitionTemplateItem

Returns a new instance of AIRecognitionTemplateItem.



124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'lib/v20190612/models.rb', line 124

def initialize(definition=nil, name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, translateconfigure=nil, createtime=nil, updatetime=nil, type=nil)
  @Definition = definition
  @Name = name
  @Comment = comment
  @FaceConfigure = faceconfigure
  @OcrFullTextConfigure = ocrfulltextconfigure
  @OcrWordsConfigure = ocrwordsconfigure
  @AsrFullTextConfigure = asrfulltextconfigure
  @AsrWordsConfigure = asrwordsconfigure
  @TranslateConfigure = translateconfigure
  @CreateTime = createtime
  @UpdateTime = updatetime
  @Type = type
end

Instance Attribute Details

#AsrFullTextConfigureObject

注意:此字段可能返回 null,表示取不到有效值。

  • Preset:系统预置模板;

  • Custom:用户自定义模板。

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Definition:

    视频内容识别模板唯一标识。

  • Name:

    视频内容识别模板名称。

  • Comment:

    视频内容识别模板描述信息。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

    文本关键词识别控制参数。

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

    语音关键词识别控制参数。

  • TranslateConfigure:

    语音翻译控制参数。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • Type:

    模板类型,取值范围:



122
123
124
# File 'lib/v20190612/models.rb', line 122

def AsrFullTextConfigure
  @AsrFullTextConfigure
end

#AsrWordsConfigureObject

注意:此字段可能返回 null,表示取不到有效值。

  • Preset:系统预置模板;

  • Custom:用户自定义模板。

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Definition:

    视频内容识别模板唯一标识。

  • Name:

    视频内容识别模板名称。

  • Comment:

    视频内容识别模板描述信息。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

    文本关键词识别控制参数。

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

    语音关键词识别控制参数。

  • TranslateConfigure:

    语音翻译控制参数。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • Type:

    模板类型,取值范围:



122
123
124
# File 'lib/v20190612/models.rb', line 122

def AsrWordsConfigure
  @AsrWordsConfigure
end

#CommentObject

注意:此字段可能返回 null,表示取不到有效值。

  • Preset:系统预置模板;

  • Custom:用户自定义模板。

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Definition:

    视频内容识别模板唯一标识。

  • Name:

    视频内容识别模板名称。

  • Comment:

    视频内容识别模板描述信息。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

    文本关键词识别控制参数。

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

    语音关键词识别控制参数。

  • TranslateConfigure:

    语音翻译控制参数。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • Type:

    模板类型,取值范围:



122
123
124
# File 'lib/v20190612/models.rb', line 122

def Comment
  @Comment
end

#CreateTimeObject

注意:此字段可能返回 null,表示取不到有效值。

  • Preset:系统预置模板;

  • Custom:用户自定义模板。

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Definition:

    视频内容识别模板唯一标识。

  • Name:

    视频内容识别模板名称。

  • Comment:

    视频内容识别模板描述信息。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

    文本关键词识别控制参数。

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

    语音关键词识别控制参数。

  • TranslateConfigure:

    语音翻译控制参数。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • Type:

    模板类型,取值范围:



122
123
124
# File 'lib/v20190612/models.rb', line 122

def CreateTime
  @CreateTime
end

#DefinitionObject

注意:此字段可能返回 null,表示取不到有效值。

  • Preset:系统预置模板;

  • Custom:用户自定义模板。

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Definition:

    视频内容识别模板唯一标识。

  • Name:

    视频内容识别模板名称。

  • Comment:

    视频内容识别模板描述信息。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

    文本关键词识别控制参数。

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

    语音关键词识别控制参数。

  • TranslateConfigure:

    语音翻译控制参数。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • Type:

    模板类型,取值范围:



122
123
124
# File 'lib/v20190612/models.rb', line 122

def Definition
  @Definition
end

#FaceConfigureObject

注意:此字段可能返回 null,表示取不到有效值。

  • Preset:系统预置模板;

  • Custom:用户自定义模板。

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Definition:

    视频内容识别模板唯一标识。

  • Name:

    视频内容识别模板名称。

  • Comment:

    视频内容识别模板描述信息。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

    文本关键词识别控制参数。

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

    语音关键词识别控制参数。

  • TranslateConfigure:

    语音翻译控制参数。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • Type:

    模板类型,取值范围:



122
123
124
# File 'lib/v20190612/models.rb', line 122

def FaceConfigure
  @FaceConfigure
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。

  • Preset:系统预置模板;

  • Custom:用户自定义模板。

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Definition:

    视频内容识别模板唯一标识。

  • Name:

    视频内容识别模板名称。

  • Comment:

    视频内容识别模板描述信息。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

    文本关键词识别控制参数。

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

    语音关键词识别控制参数。

  • TranslateConfigure:

    语音翻译控制参数。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • Type:

    模板类型,取值范围:



122
123
124
# File 'lib/v20190612/models.rb', line 122

def Name
  @Name
end

#OcrFullTextConfigureObject

注意:此字段可能返回 null,表示取不到有效值。

  • Preset:系统预置模板;

  • Custom:用户自定义模板。

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Definition:

    视频内容识别模板唯一标识。

  • Name:

    视频内容识别模板名称。

  • Comment:

    视频内容识别模板描述信息。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

    文本关键词识别控制参数。

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

    语音关键词识别控制参数。

  • TranslateConfigure:

    语音翻译控制参数。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • Type:

    模板类型,取值范围:



122
123
124
# File 'lib/v20190612/models.rb', line 122

def OcrFullTextConfigure
  @OcrFullTextConfigure
end

#OcrWordsConfigureObject

注意:此字段可能返回 null,表示取不到有效值。

  • Preset:系统预置模板;

  • Custom:用户自定义模板。

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Definition:

    视频内容识别模板唯一标识。

  • Name:

    视频内容识别模板名称。

  • Comment:

    视频内容识别模板描述信息。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

    文本关键词识别控制参数。

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

    语音关键词识别控制参数。

  • TranslateConfigure:

    语音翻译控制参数。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • Type:

    模板类型,取值范围:



122
123
124
# File 'lib/v20190612/models.rb', line 122

def OcrWordsConfigure
  @OcrWordsConfigure
end

#TranslateConfigureObject

注意:此字段可能返回 null,表示取不到有效值。

  • Preset:系统预置模板;

  • Custom:用户自定义模板。

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Definition:

    视频内容识别模板唯一标识。

  • Name:

    视频内容识别模板名称。

  • Comment:

    视频内容识别模板描述信息。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

    文本关键词识别控制参数。

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

    语音关键词识别控制参数。

  • TranslateConfigure:

    语音翻译控制参数。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • Type:

    模板类型,取值范围:



122
123
124
# File 'lib/v20190612/models.rb', line 122

def TranslateConfigure
  @TranslateConfigure
end

#TypeObject

注意:此字段可能返回 null,表示取不到有效值。

  • Preset:系统预置模板;

  • Custom:用户自定义模板。

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Definition:

    视频内容识别模板唯一标识。

  • Name:

    视频内容识别模板名称。

  • Comment:

    视频内容识别模板描述信息。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

    文本关键词识别控制参数。

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

    语音关键词识别控制参数。

  • TranslateConfigure:

    语音翻译控制参数。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • Type:

    模板类型,取值范围:



122
123
124
# File 'lib/v20190612/models.rb', line 122

def Type
  @Type
end

#UpdateTimeObject

注意:此字段可能返回 null,表示取不到有效值。

  • Preset:系统预置模板;

  • Custom:用户自定义模板。

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Definition:

    视频内容识别模板唯一标识。

  • Name:

    视频内容识别模板名称。

  • Comment:

    视频内容识别模板描述信息。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

    文本关键词识别控制参数。

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

    语音关键词识别控制参数。

  • TranslateConfigure:

    语音翻译控制参数。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/862/37710#52)。

  • Type:

    模板类型,取值范围:



122
123
124
# File 'lib/v20190612/models.rb', line 122

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# File 'lib/v20190612/models.rb', line 139

def deserialize(params)
  @Definition = params['Definition']
  @Name = params['Name']
  @Comment = params['Comment']
  unless params['FaceConfigure'].nil?
    @FaceConfigure = FaceConfigureInfo.new
    @FaceConfigure.deserialize(params['FaceConfigure'])
  end
  unless params['OcrFullTextConfigure'].nil?
    @OcrFullTextConfigure = OcrFullTextConfigureInfo.new
    @OcrFullTextConfigure.deserialize(params['OcrFullTextConfigure'])
  end
  unless params['OcrWordsConfigure'].nil?
    @OcrWordsConfigure = OcrWordsConfigureInfo.new
    @OcrWordsConfigure.deserialize(params['OcrWordsConfigure'])
  end
  unless params['AsrFullTextConfigure'].nil?
    @AsrFullTextConfigure = AsrFullTextConfigureInfo.new
    @AsrFullTextConfigure.deserialize(params['AsrFullTextConfigure'])
  end
  unless params['AsrWordsConfigure'].nil?
    @AsrWordsConfigure = AsrWordsConfigureInfo.new
    @AsrWordsConfigure.deserialize(params['AsrWordsConfigure'])
  end
  unless params['TranslateConfigure'].nil?
    @TranslateConfigure = TranslateConfigureInfo.new
    @TranslateConfigure.deserialize(params['TranslateConfigure'])
  end
  @CreateTime = params['CreateTime']
  @UpdateTime = params['UpdateTime']
  @Type = params['Type']
end