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.



7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
# File 'lib/v20190612/models.rb', line 7603

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:

    语音翻译控制参数。



7601
7602
7603
# File 'lib/v20190612/models.rb', line 7601

def AsrFullTextConfigure
  @AsrFullTextConfigure
end

#AsrWordsConfigureObject

Parameters:

  • Name:

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

  • Comment:

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

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



7601
7602
7603
# File 'lib/v20190612/models.rb', line 7601

def AsrWordsConfigure
  @AsrWordsConfigure
end

#CommentObject

Parameters:

  • Name:

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

  • Comment:

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

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



7601
7602
7603
# File 'lib/v20190612/models.rb', line 7601

def Comment
  @Comment
end

#FaceConfigureObject

Parameters:

  • Name:

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

  • Comment:

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

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



7601
7602
7603
# File 'lib/v20190612/models.rb', line 7601

def FaceConfigure
  @FaceConfigure
end

#NameObject

Parameters:

  • Name:

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

  • Comment:

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

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



7601
7602
7603
# File 'lib/v20190612/models.rb', line 7601

def Name
  @Name
end

#OcrFullTextConfigureObject

Parameters:

  • Name:

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

  • Comment:

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

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



7601
7602
7603
# File 'lib/v20190612/models.rb', line 7601

def OcrFullTextConfigure
  @OcrFullTextConfigure
end

#OcrWordsConfigureObject

Parameters:

  • Name:

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

  • Comment:

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

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



7601
7602
7603
# File 'lib/v20190612/models.rb', line 7601

def OcrWordsConfigure
  @OcrWordsConfigure
end

#TranslateConfigureObject

Parameters:

  • Name:

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

  • Comment:

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

  • FaceConfigure:

    人脸识别控制参数。

  • OcrFullTextConfigure:

    文本全文识别控制参数。

  • OcrWordsConfigure:

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

  • AsrFullTextConfigure:

    语音全文识别控制参数。

  • AsrWordsConfigure:

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

  • TranslateConfigure:

    语音翻译控制参数。



7601
7602
7603
# File 'lib/v20190612/models.rb', line 7601

def TranslateConfigure
  @TranslateConfigure
end

Instance Method Details

#deserialize(params) ⇒ Object



7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
# File 'lib/v20190612/models.rb', line 7614

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