Class: TencentCloud::Mps::V20190612::LiveStreamTagRecognitionResult

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

Overview

直播 AI 打点识别结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, startptstime = nil, endptstime = nil, confidence = nil) ⇒ LiveStreamTagRecognitionResult

Returns a new instance of LiveStreamTagRecognitionResult.



19765
19766
19767
19768
19769
19770
# File 'lib/v20190612/models.rb', line 19765

def initialize(id=nil, startptstime=nil, endptstime=nil, confidence=nil)
  @Id = id
  @StartPtsTime = startptstime
  @EndPtsTime = endptstime
  @Confidence = confidence
end

Instance Attribute Details

#ConfidenceObject

Parameters:

  • Id:

    打点事件。

  • StartPtsTime:

    识别片段起始的 PTS 时间,单位:秒。

  • EndPtsTime:

    识别片段终止的 PTS 时间,单位:秒。

  • Confidence:

    识别片段置信度。取值:0~100。



19763
19764
19765
# File 'lib/v20190612/models.rb', line 19763

def Confidence
  @Confidence
end

#EndPtsTimeObject

Parameters:

  • Id:

    打点事件。

  • StartPtsTime:

    识别片段起始的 PTS 时间,单位:秒。

  • EndPtsTime:

    识别片段终止的 PTS 时间,单位:秒。

  • Confidence:

    识别片段置信度。取值:0~100。



19763
19764
19765
# File 'lib/v20190612/models.rb', line 19763

def EndPtsTime
  @EndPtsTime
end

#IdObject

Parameters:

  • Id:

    打点事件。

  • StartPtsTime:

    识别片段起始的 PTS 时间,单位:秒。

  • EndPtsTime:

    识别片段终止的 PTS 时间,单位:秒。

  • Confidence:

    识别片段置信度。取值:0~100。



19763
19764
19765
# File 'lib/v20190612/models.rb', line 19763

def Id
  @Id
end

#StartPtsTimeObject

Parameters:

  • Id:

    打点事件。

  • StartPtsTime:

    识别片段起始的 PTS 时间,单位:秒。

  • EndPtsTime:

    识别片段终止的 PTS 时间,单位:秒。

  • Confidence:

    识别片段置信度。取值:0~100。



19763
19764
19765
# File 'lib/v20190612/models.rb', line 19763

def StartPtsTime
  @StartPtsTime
end

Instance Method Details

#deserialize(params) ⇒ Object



19772
19773
19774
19775
19776
19777
# File 'lib/v20190612/models.rb', line 19772

def deserialize(params)
  @Id = params['Id']
  @StartPtsTime = params['StartPtsTime']
  @EndPtsTime = params['EndPtsTime']
  @Confidence = params['Confidence']
end