Class: TencentCloud::Iotexplorer::V20190423::CreateExternalSourceAIServiceTaskRequest

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

Overview

CreateExternalSourceAIServiceTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, servicetype = nil, videourls = nil, customid = nil, config = nil, roi = nil) ⇒ CreateExternalSourceAIServiceTaskRequest

Returns a new instance of CreateExternalSourceAIServiceTaskRequest.



1810
1811
1812
1813
1814
1815
1816
1817
# File 'lib/v20190423/models.rb', line 1810

def initialize(productid=nil, servicetype=nil, videourls=nil, customid=nil, config=nil, roi=nil)
  @ProductId = productid
  @ServiceType = servicetype
  @VideoURLs = videourls
  @CustomId = customid
  @Config = config
  @ROI = roi
end

Instance Attribute Details

#ConfigObject

  • RealtimeObjectDetect:目标检测
  • Highlight:视频浓缩
  • VideoToText:视频语义理解

Parameters:

  • ProductId:

    产品 ID

  • ServiceType:

    云存 AI 服务类型。可选值:

  • VideoURLs:

    分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)

  • CustomId:

    自定义任务 ID

  • Config:

    视频分析配置参数

  • ROI:

    视频分析识别区域



1808
1809
1810
# File 'lib/v20190423/models.rb', line 1808

def Config
  @Config
end

#CustomIdObject

  • RealtimeObjectDetect:目标检测
  • Highlight:视频浓缩
  • VideoToText:视频语义理解

Parameters:

  • ProductId:

    产品 ID

  • ServiceType:

    云存 AI 服务类型。可选值:

  • VideoURLs:

    分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)

  • CustomId:

    自定义任务 ID

  • Config:

    视频分析配置参数

  • ROI:

    视频分析识别区域



1808
1809
1810
# File 'lib/v20190423/models.rb', line 1808

def CustomId
  @CustomId
end

#ProductIdObject

  • RealtimeObjectDetect:目标检测
  • Highlight:视频浓缩
  • VideoToText:视频语义理解

Parameters:

  • ProductId:

    产品 ID

  • ServiceType:

    云存 AI 服务类型。可选值:

  • VideoURLs:

    分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)

  • CustomId:

    自定义任务 ID

  • Config:

    视频分析配置参数

  • ROI:

    视频分析识别区域



1808
1809
1810
# File 'lib/v20190423/models.rb', line 1808

def ProductId
  @ProductId
end

#ROIObject

  • RealtimeObjectDetect:目标检测
  • Highlight:视频浓缩
  • VideoToText:视频语义理解

Parameters:

  • ProductId:

    产品 ID

  • ServiceType:

    云存 AI 服务类型。可选值:

  • VideoURLs:

    分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)

  • CustomId:

    自定义任务 ID

  • Config:

    视频分析配置参数

  • ROI:

    视频分析识别区域



1808
1809
1810
# File 'lib/v20190423/models.rb', line 1808

def ROI
  @ROI
end

#ServiceTypeObject

  • RealtimeObjectDetect:目标检测
  • Highlight:视频浓缩
  • VideoToText:视频语义理解

Parameters:

  • ProductId:

    产品 ID

  • ServiceType:

    云存 AI 服务类型。可选值:

  • VideoURLs:

    分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)

  • CustomId:

    自定义任务 ID

  • Config:

    视频分析配置参数

  • ROI:

    视频分析识别区域



1808
1809
1810
# File 'lib/v20190423/models.rb', line 1808

def ServiceType
  @ServiceType
end

#VideoURLsObject

  • RealtimeObjectDetect:目标检测
  • Highlight:视频浓缩
  • VideoToText:视频语义理解

Parameters:

  • ProductId:

    产品 ID

  • ServiceType:

    云存 AI 服务类型。可选值:

  • VideoURLs:

    分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)

  • CustomId:

    自定义任务 ID

  • Config:

    视频分析配置参数

  • ROI:

    视频分析识别区域



1808
1809
1810
# File 'lib/v20190423/models.rb', line 1808

def VideoURLs
  @VideoURLs
end

Instance Method Details

#deserialize(params) ⇒ Object



1819
1820
1821
1822
1823
1824
1825
1826
# File 'lib/v20190423/models.rb', line 1819

def deserialize(params)
  @ProductId = params['ProductId']
  @ServiceType = params['ServiceType']
  @VideoURLs = params['VideoURLs']
  @CustomId = params['CustomId']
  @Config = params['Config']
  @ROI = params['ROI']
end