Class: TencentCloud::Mps::V20190612::CreateAIRecognitionTemplateRequest

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

Overview

CreateAIRecognitionTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, comment = nil, faceconfigure = nil, ocrfulltextconfigure = nil, ocrwordsconfigure = nil, asrfulltextconfigure = nil, asrwordsconfigure = nil, translateconfigure = nil) ⇒ CreateAIRecognitionTemplateRequest

Returns a new instance of CreateAIRecognitionTemplateRequest.



6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
# File 'lib/v20190612/models.rb', line 6682

def initialize(name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, translateconfigure=nil)
  @Name = name
  @Comment = comment
  @FaceConfigure = faceconfigure
  @OcrFullTextConfigure = ocrfulltextconfigure
  @OcrWordsConfigure = ocrwordsconfigure
  @AsrFullTextConfigure = asrfulltextconfigure
  @AsrWordsConfigure = asrwordsconfigure
  @TranslateConfigure = translateconfigure
end

Instance Attribute Details

#AsrFullTextConfigureObject

Parameters:

  • Name:

    视频内容识别模板名称,长度限制:64 个字符。

  • Comment:

    视频内容识别模板描述信息,长度限制:256 个字符。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



6680
6681
6682
# File 'lib/v20190612/models.rb', line 6680

def AsrFullTextConfigure
  @AsrFullTextConfigure
end

#AsrWordsConfigureObject

Parameters:

  • Name:

    视频内容识别模板名称,长度限制:64 个字符。

  • Comment:

    视频内容识别模板描述信息,长度限制:256 个字符。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



6680
6681
6682
# File 'lib/v20190612/models.rb', line 6680

def AsrWordsConfigure
  @AsrWordsConfigure
end

#CommentObject

Parameters:

  • Name:

    视频内容识别模板名称,长度限制:64 个字符。

  • Comment:

    视频内容识别模板描述信息,长度限制:256 个字符。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



6680
6681
6682
# File 'lib/v20190612/models.rb', line 6680

def Comment
  @Comment
end

#FaceConfigureObject

Parameters:

  • Name:

    视频内容识别模板名称,长度限制:64 个字符。

  • Comment:

    视频内容识别模板描述信息,长度限制:256 个字符。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



6680
6681
6682
# File 'lib/v20190612/models.rb', line 6680

def FaceConfigure
  @FaceConfigure
end

#NameObject

Parameters:

  • Name:

    视频内容识别模板名称,长度限制:64 个字符。

  • Comment:

    视频内容识别模板描述信息,长度限制:256 个字符。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



6680
6681
6682
# File 'lib/v20190612/models.rb', line 6680

def Name
  @Name
end

#OcrFullTextConfigureObject

Parameters:

  • Name:

    视频内容识别模板名称,长度限制:64 个字符。

  • Comment:

    视频内容识别模板描述信息,长度限制:256 个字符。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



6680
6681
6682
# File 'lib/v20190612/models.rb', line 6680

def OcrFullTextConfigure
  @OcrFullTextConfigure
end

#OcrWordsConfigureObject

Parameters:

  • Name:

    视频内容识别模板名称,长度限制:64 个字符。

  • Comment:

    视频内容识别模板描述信息,长度限制:256 个字符。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



6680
6681
6682
# File 'lib/v20190612/models.rb', line 6680

def OcrWordsConfigure
  @OcrWordsConfigure
end

#TranslateConfigureObject

Parameters:

  • Name:

    视频内容识别模板名称,长度限制:64 个字符。

  • Comment:

    视频内容识别模板描述信息,长度限制:256 个字符。

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



6680
6681
6682
# File 'lib/v20190612/models.rb', line 6680

def TranslateConfigure
  @TranslateConfigure
end

Instance Method Details

#deserialize(params) ⇒ Object



6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
# File 'lib/v20190612/models.rb', line 6693

def deserialize(params)
  @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
end