Class: TencentCloud::Tci::V20190318::ActionInfo

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

Overview

大教室场景肢体动作识别信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bodyposture = nil, handup = nil, lookhead = nil, writing = nil, height = nil, left = nil, top = nil, width = nil) ⇒ ActionInfo

Returns a new instance of ActionInfo.



248
249
250
251
252
253
254
255
256
257
# File 'lib/v20190318/models.rb', line 248

def initialize(bodyposture=nil, handup=nil, lookhead=nil, writing=nil, height=nil, left=nil, top=nil, width=nil)
  @BodyPosture = bodyposture
  @Handup = handup
  @LookHead = lookhead
  @Writing = writing
  @Height = height
  @Left = left
  @Top = top
  @Width = width
end

Instance Attribute Details

#BodyPostureObject

Parameters:

  • BodyPosture:

    躯体动作识别结果,包含坐着(sit)、站立(stand)和趴睡(sleep)

  • Handup:

    举手识别结果,包含举手(hand)和未检测到举手(nothand)

  • LookHead:

    是否低头识别结果,包含抬头(lookingahead)和未检测到抬头(notlookingahead)

  • Writing:

    是否写字识别结果,包含写字(write)和未检测到写字(notlookingahead)

  • Height:

    动作图像高度

  • Left:

    动作出现图像的左侧起始坐标位置

  • Top:

    动作出现图像的上侧起始侧坐标位置

  • Width:

    动作图像宽度



246
247
248
# File 'lib/v20190318/models.rb', line 246

def BodyPosture
  @BodyPosture
end

#HandupObject

Parameters:

  • BodyPosture:

    躯体动作识别结果,包含坐着(sit)、站立(stand)和趴睡(sleep)

  • Handup:

    举手识别结果,包含举手(hand)和未检测到举手(nothand)

  • LookHead:

    是否低头识别结果,包含抬头(lookingahead)和未检测到抬头(notlookingahead)

  • Writing:

    是否写字识别结果,包含写字(write)和未检测到写字(notlookingahead)

  • Height:

    动作图像高度

  • Left:

    动作出现图像的左侧起始坐标位置

  • Top:

    动作出现图像的上侧起始侧坐标位置

  • Width:

    动作图像宽度



246
247
248
# File 'lib/v20190318/models.rb', line 246

def Handup
  @Handup
end

#HeightObject

Parameters:

  • BodyPosture:

    躯体动作识别结果,包含坐着(sit)、站立(stand)和趴睡(sleep)

  • Handup:

    举手识别结果,包含举手(hand)和未检测到举手(nothand)

  • LookHead:

    是否低头识别结果,包含抬头(lookingahead)和未检测到抬头(notlookingahead)

  • Writing:

    是否写字识别结果,包含写字(write)和未检测到写字(notlookingahead)

  • Height:

    动作图像高度

  • Left:

    动作出现图像的左侧起始坐标位置

  • Top:

    动作出现图像的上侧起始侧坐标位置

  • Width:

    动作图像宽度



246
247
248
# File 'lib/v20190318/models.rb', line 246

def Height
  @Height
end

#LeftObject

Parameters:

  • BodyPosture:

    躯体动作识别结果,包含坐着(sit)、站立(stand)和趴睡(sleep)

  • Handup:

    举手识别结果,包含举手(hand)和未检测到举手(nothand)

  • LookHead:

    是否低头识别结果,包含抬头(lookingahead)和未检测到抬头(notlookingahead)

  • Writing:

    是否写字识别结果,包含写字(write)和未检测到写字(notlookingahead)

  • Height:

    动作图像高度

  • Left:

    动作出现图像的左侧起始坐标位置

  • Top:

    动作出现图像的上侧起始侧坐标位置

  • Width:

    动作图像宽度



246
247
248
# File 'lib/v20190318/models.rb', line 246

def Left
  @Left
end

#LookHeadObject

Parameters:

  • BodyPosture:

    躯体动作识别结果,包含坐着(sit)、站立(stand)和趴睡(sleep)

  • Handup:

    举手识别结果,包含举手(hand)和未检测到举手(nothand)

  • LookHead:

    是否低头识别结果,包含抬头(lookingahead)和未检测到抬头(notlookingahead)

  • Writing:

    是否写字识别结果,包含写字(write)和未检测到写字(notlookingahead)

  • Height:

    动作图像高度

  • Left:

    动作出现图像的左侧起始坐标位置

  • Top:

    动作出现图像的上侧起始侧坐标位置

  • Width:

    动作图像宽度



246
247
248
# File 'lib/v20190318/models.rb', line 246

def LookHead
  @LookHead
end

#TopObject

Parameters:

  • BodyPosture:

    躯体动作识别结果,包含坐着(sit)、站立(stand)和趴睡(sleep)

  • Handup:

    举手识别结果,包含举手(hand)和未检测到举手(nothand)

  • LookHead:

    是否低头识别结果,包含抬头(lookingahead)和未检测到抬头(notlookingahead)

  • Writing:

    是否写字识别结果,包含写字(write)和未检测到写字(notlookingahead)

  • Height:

    动作图像高度

  • Left:

    动作出现图像的左侧起始坐标位置

  • Top:

    动作出现图像的上侧起始侧坐标位置

  • Width:

    动作图像宽度



246
247
248
# File 'lib/v20190318/models.rb', line 246

def Top
  @Top
end

#WidthObject

Parameters:

  • BodyPosture:

    躯体动作识别结果,包含坐着(sit)、站立(stand)和趴睡(sleep)

  • Handup:

    举手识别结果,包含举手(hand)和未检测到举手(nothand)

  • LookHead:

    是否低头识别结果,包含抬头(lookingahead)和未检测到抬头(notlookingahead)

  • Writing:

    是否写字识别结果,包含写字(write)和未检测到写字(notlookingahead)

  • Height:

    动作图像高度

  • Left:

    动作出现图像的左侧起始坐标位置

  • Top:

    动作出现图像的上侧起始侧坐标位置

  • Width:

    动作图像宽度



246
247
248
# File 'lib/v20190318/models.rb', line 246

def Width
  @Width
end

#WritingObject

Parameters:

  • BodyPosture:

    躯体动作识别结果,包含坐着(sit)、站立(stand)和趴睡(sleep)

  • Handup:

    举手识别结果,包含举手(hand)和未检测到举手(nothand)

  • LookHead:

    是否低头识别结果,包含抬头(lookingahead)和未检测到抬头(notlookingahead)

  • Writing:

    是否写字识别结果,包含写字(write)和未检测到写字(notlookingahead)

  • Height:

    动作图像高度

  • Left:

    动作出现图像的左侧起始坐标位置

  • Top:

    动作出现图像的上侧起始侧坐标位置

  • Width:

    动作图像宽度



246
247
248
# File 'lib/v20190318/models.rb', line 246

def Writing
  @Writing
end

Instance Method Details

#deserialize(params) ⇒ Object



259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
# File 'lib/v20190318/models.rb', line 259

def deserialize(params)
  unless params['BodyPosture'].nil?
    @BodyPosture = ActionType.new
    @BodyPosture.deserialize(params['BodyPosture'])
  end
  unless params['Handup'].nil?
    @Handup = ActionType.new
    @Handup.deserialize(params['Handup'])
  end
  unless params['LookHead'].nil?
    @LookHead = ActionType.new
    @LookHead.deserialize(params['LookHead'])
  end
  unless params['Writing'].nil?
    @Writing = ActionType.new
    @Writing.deserialize(params['Writing'])
  end
  @Height = params['Height']
  @Left = params['Left']
  @Top = params['Top']
  @Width = params['Width']
end