Class: TencentCloud::Vod::V20180717::AIRecognitionTemplateItem

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

Overview

视频内容识别模板详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(definition = nil, name = nil, comment = nil, type = nil, headtailconfigure = nil, segmentconfigure = nil, faceconfigure = nil, ocrfulltextconfigure = nil, ocrwordsconfigure = nil, asrfulltextconfigure = nil, asrwordsconfigure = nil, asrtranslateconfigure = nil, objectconfigure = nil, screenshotinterval = nil, createtime = nil, updatetime = nil) ⇒ AIRecognitionTemplateItem

Returns a new instance of AIRecognitionTemplateItem.



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# File 'lib/v20180717/models.rb', line 127

def initialize(definition=nil, name=nil, comment=nil, type=nil, headtailconfigure=nil, segmentconfigure=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, asrtranslateconfigure=nil, objectconfigure=nil, screenshotinterval=nil, createtime=nil, updatetime=nil)
  @Definition = definition
  @Name = name
  @Comment = comment
  @Type = type
  @HeadTailConfigure = headtailconfigure
  @SegmentConfigure = segmentconfigure
  @FaceConfigure = faceconfigure
  @OcrFullTextConfigure = ocrfulltextconfigure
  @OcrWordsConfigure = ocrwordsconfigure
  @AsrFullTextConfigure = asrfulltextconfigure
  @AsrWordsConfigure = asrwordsconfigure
  @AsrTranslateConfigure = asrtranslateconfigure
  @ObjectConfigure = objectconfigure
  @ScreenshotInterval = screenshotinterval
  @CreateTime = createtime
  @UpdateTime = updatetime
end

Instance Attribute Details

#AsrFullTextConfigureObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def AsrFullTextConfigure
  @AsrFullTextConfigure
end

#AsrTranslateConfigureObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def AsrTranslateConfigure
  @AsrTranslateConfigure
end

#AsrWordsConfigureObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def AsrWordsConfigure
  @AsrWordsConfigure
end

#CommentObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def Comment
  @Comment
end

#CreateTimeObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def CreateTime
  @CreateTime
end

#DefinitionObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def Definition
  @Definition
end

#FaceConfigureObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def FaceConfigure
  @FaceConfigure
end

#HeadTailConfigureObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def HeadTailConfigure
  @HeadTailConfigure
end

#NameObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def Name
  @Name
end

#ObjectConfigureObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def ObjectConfigure
  @ObjectConfigure
end

#OcrFullTextConfigureObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def OcrFullTextConfigure
  @OcrFullTextConfigure
end

#OcrWordsConfigureObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def OcrWordsConfigure
  @OcrWordsConfigure
end

#ScreenshotIntervalObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def ScreenshotInterval
  @ScreenshotInterval
end

#SegmentConfigureObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def SegmentConfigure
  @SegmentConfigure
end

#TypeObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def Type
  @Type
end

#UpdateTimeObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>

Parameters:

  • Definition:

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

  • Name:

    视频内容识别模板名称。

  • Comment:

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

  • Type:

    模板类型,取值:

  • HeadTailConfigure:

    头尾识别控制参数。

  • SegmentConfigure:

    拆条识别控制参数。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • AsrTranslateConfigure:

    语音翻译识别控制参数。

  • ObjectConfigure:

    物体识别控制参数。

  • ScreenshotInterval:

    截图时间间隔,单位:秒。

  • CreateTime:

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

  • UpdateTime:

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



125
126
127
# File 'lib/v20180717/models.rb', line 125

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'lib/v20180717/models.rb', line 146

def deserialize(params)
  @Definition = params['Definition']
  @Name = params['Name']
  @Comment = params['Comment']
  @Type = params['Type']
  unless params['HeadTailConfigure'].nil?
    @HeadTailConfigure = HeadTailConfigureInfo.new
    @HeadTailConfigure.deserialize(params['HeadTailConfigure'])
  end
  unless params['SegmentConfigure'].nil?
    @SegmentConfigure = SegmentConfigureInfo.new
    @SegmentConfigure.deserialize(params['SegmentConfigure'])
  end
  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['AsrTranslateConfigure'].nil?
    @AsrTranslateConfigure = AsrTranslateConfigureInfo.new
    @AsrTranslateConfigure.deserialize(params['AsrTranslateConfigure'])
  end
  unless params['ObjectConfigure'].nil?
    @ObjectConfigure = ObjectConfigureInfo.new
    @ObjectConfigure.deserialize(params['ObjectConfigure'])
  end
  @ScreenshotInterval = params['ScreenshotInterval']
  @CreateTime = params['CreateTime']
  @UpdateTime = params['UpdateTime']
end