Class: TencentCloud::Vod::V20180717::AIRecognitionTemplateItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::AIRecognitionTemplateItem
- Defined in:
- lib/v20180717/models.rb
Overview
视频内容识别模板详情
Instance Attribute Summary collapse
-
#AsrFullTextConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#AsrTranslateConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#AsrWordsConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#Comment ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#CreateTime ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#Definition ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#FaceConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#HeadTailConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#Name ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#ObjectConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#OcrFullTextConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#OcrWordsConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#ScreenshotInterval ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#SegmentConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#Type ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
-
#UpdateTime ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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
constructor
A new instance of AIRecognitionTemplateItem.
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
#AsrFullTextConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def AsrFullTextConfigure @AsrFullTextConfigure end |
#AsrTranslateConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def AsrTranslateConfigure @AsrTranslateConfigure end |
#AsrWordsConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def AsrWordsConfigure @AsrWordsConfigure end |
#Comment ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def Comment @Comment end |
#CreateTime ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def CreateTime @CreateTime end |
#Definition ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def Definition @Definition end |
#FaceConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def FaceConfigure @FaceConfigure end |
#HeadTailConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def HeadTailConfigure @HeadTailConfigure end |
#Name ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def Name @Name end |
#ObjectConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def ObjectConfigure @ObjectConfigure end |
#OcrFullTextConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def OcrFullTextConfigure @OcrFullTextConfigure end |
#OcrWordsConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def OcrWordsConfigure @OcrWordsConfigure end |
#ScreenshotInterval ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def ScreenshotInterval @ScreenshotInterval end |
#SegmentConfigure ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def SegmentConfigure @SegmentConfigure end |
#Type ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
125 126 127 |
# File 'lib/v20180717/models.rb', line 125 def Type @Type end |
#UpdateTime ⇒ Object
<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
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 |