Class: TencentCloud::Iotexplorer::V20190423::CreateVisionRecognitionTaskInput

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

Overview

批量创建的 TWeSee 语义理解任务

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, devicename = nil, inputurl = nil, inputbase64 = nil, channelid = nil, customid = nil, enablesearch = nil, starttimems = nil, endtimems = nil, config = nil, iscustomdevice = nil, inputtype = nil, summaryqos = nil, summaryconfig = nil, servicetype = nil, objectdetectconfig = nil) ⇒ CreateVisionRecognitionTaskInput

Returns a new instance of CreateVisionRecognitionTaskInput.



3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
# File 'lib/v20190423/models.rb', line 3065

def initialize(productid=nil, devicename=nil, inputurl=nil, inputbase64=nil, channelid=nil, customid=nil, enablesearch=nil, starttimems=nil, endtimems=nil, config=nil, iscustomdevice=nil, inputtype=nil, summaryqos=nil, summaryconfig=nil, servicetype=nil, objectdetectconfig=nil)
  @ProductId = productid
  @DeviceName = devicename
  @InputURL = inputurl
  @InputBase64 = inputbase64
  @ChannelId = channelid
  @CustomId = customid
  @EnableSearch = enablesearch
  @StartTimeMs = starttimems
  @EndTimeMs = endtimems
  @Config = config
  @IsCustomDevice = iscustomdevice
  @InputType = inputtype
  @SummaryQOS = summaryqos
  @SummaryConfig = summaryconfig
  @ServiceType = servicetype
  @ObjectDetectConfig = objectdetectconfig
end

Instance Attribute Details

#ChannelIdObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def ChannelId
  @ChannelId
end

#ConfigObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def Config
  @Config
end

#CustomIdObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def CustomId
  @CustomId
end

#DeviceNameObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def DeviceName
  @DeviceName
end

#EnableSearchObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def EnableSearch
  @EnableSearch
end

#EndTimeMsObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def EndTimeMs
  @EndTimeMs
end

#InputBase64Object

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def InputBase64
  @InputBase64
end

#InputTypeObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def InputType
  @InputType
end

#InputURLObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def InputURL
  @InputURL
end

#IsCustomDeviceObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def IsCustomDevice
  @IsCustomDevice
end

#ObjectDetectConfigObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def ObjectDetectConfig
  @ObjectDetectConfig
end

#ProductIdObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def ProductId
  @ProductId
end

#ServiceTypeObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def ServiceType
  @ServiceType
end

#StartTimeMsObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def StartTimeMs
  @StartTimeMs
end

#SummaryConfigObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def SummaryConfig
  @SummaryConfig
end

#SummaryQOSObject

  • ‘minutely`:分钟级(默认值)

  • ‘immediate`:立即

  • ‘Summary`:视频/图片摘要

  • ‘ObjectDetect`:目标检测

Parameters:

  • SummaryConfig:

    摘要输出配置

  • ServiceType:

    算法类型,可能取值:

  • ObjectDetectConfig:

    目标检测配置



3063
3064
3065
# File 'lib/v20190423/models.rb', line 3063

def SummaryQOS
  @SummaryQOS
end

Instance Method Details

#deserialize(params) ⇒ Object



3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
# File 'lib/v20190423/models.rb', line 3084

def deserialize(params)
  @ProductId = params['ProductId']
  @DeviceName = params['DeviceName']
  @InputURL = params['InputURL']
  @InputBase64 = params['InputBase64']
  @ChannelId = params['ChannelId']
  @CustomId = params['CustomId']
  @EnableSearch = params['EnableSearch']
  @StartTimeMs = params['StartTimeMs']
  @EndTimeMs = params['EndTimeMs']
  @Config = params['Config']
  @IsCustomDevice = params['IsCustomDevice']
  @InputType = params['InputType']
  @SummaryQOS = params['SummaryQOS']
  unless params['SummaryConfig'].nil?
    @SummaryConfig = VisionSummaryConfig.new
    @SummaryConfig.deserialize(params['SummaryConfig'])
  end
  @ServiceType = params['ServiceType']
  unless params['ObjectDetectConfig'].nil?
    @ObjectDetectConfig = VisionObjectDetectConfig.new
    @ObjectDetectConfig.deserialize(params['ObjectDetectConfig'])
  end
end