Class: TencentCloud::Tci::V20190318::HandTrackingResult

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

Overview

HandTrackingResult

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_class = nil, confidence = nil, height = nil, left = nil, top = nil, width = nil) ⇒ HandTrackingResult

Returns a new instance of HandTrackingResult.



2254
2255
2256
2257
2258
2259
2260
2261
# File 'lib/v20190318/models.rb', line 2254

def initialize(_class=nil, confidence=nil, height=nil, left=nil, top=nil, width=nil)
  @Class = _class
  @Confidence = confidence
  @Height = height
  @Left = left
  @Top = top
  @Width = width
end

Instance Attribute Details

#ClassObject

Parameters:

  • Class:

    识别结果

  • Confidence:

    置信度

  • Height:

    识别结果高度

  • Left:

    识别结果左坐标

  • Top:

    识别结果顶坐标

  • Width:

    识别结果宽度



2252
2253
2254
# File 'lib/v20190318/models.rb', line 2252

def Class
  @Class
end

#ConfidenceObject

Parameters:

  • Class:

    识别结果

  • Confidence:

    置信度

  • Height:

    识别结果高度

  • Left:

    识别结果左坐标

  • Top:

    识别结果顶坐标

  • Width:

    识别结果宽度



2252
2253
2254
# File 'lib/v20190318/models.rb', line 2252

def Confidence
  @Confidence
end

#HeightObject

Parameters:

  • Class:

    识别结果

  • Confidence:

    置信度

  • Height:

    识别结果高度

  • Left:

    识别结果左坐标

  • Top:

    识别结果顶坐标

  • Width:

    识别结果宽度



2252
2253
2254
# File 'lib/v20190318/models.rb', line 2252

def Height
  @Height
end

#LeftObject

Parameters:

  • Class:

    识别结果

  • Confidence:

    置信度

  • Height:

    识别结果高度

  • Left:

    识别结果左坐标

  • Top:

    识别结果顶坐标

  • Width:

    识别结果宽度



2252
2253
2254
# File 'lib/v20190318/models.rb', line 2252

def Left
  @Left
end

#TopObject

Parameters:

  • Class:

    识别结果

  • Confidence:

    置信度

  • Height:

    识别结果高度

  • Left:

    识别结果左坐标

  • Top:

    识别结果顶坐标

  • Width:

    识别结果宽度



2252
2253
2254
# File 'lib/v20190318/models.rb', line 2252

def Top
  @Top
end

#WidthObject

Parameters:

  • Class:

    识别结果

  • Confidence:

    置信度

  • Height:

    识别结果高度

  • Left:

    识别结果左坐标

  • Top:

    识别结果顶坐标

  • Width:

    识别结果宽度



2252
2253
2254
# File 'lib/v20190318/models.rb', line 2252

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



2263
2264
2265
2266
2267
2268
2269
2270
# File 'lib/v20190318/models.rb', line 2263

def deserialize(params)
  @Class = params['Class']
  @Confidence = params['Confidence']
  @Height = params['Height']
  @Left = params['Left']
  @Top = params['Top']
  @Width = params['Width']
end