Class: TencentCloud::Tci::V20190318::SubmitDoubleVideoHighlightsRequest

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

Overview

SubmitDoubleVideoHighlights请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filecontent = nil, libids = nil, functions = nil, personinfolist = nil, frameinterval = nil, personids = nil, simthreshold = nil, teacherfilecontent = nil) ⇒ SubmitDoubleVideoHighlightsRequest

Returns a new instance of SubmitDoubleVideoHighlightsRequest.



3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
# File 'lib/v20190318/models.rb', line 3432

def initialize(filecontent=nil, libids=nil, functions=nil, personinfolist=nil, frameinterval=nil, personids=nil, simthreshold=nil, teacherfilecontent=nil)
  @FileContent = filecontent
  @LibIds = libids
  @Functions = functions
  @PersonInfoList = personinfolist
  @FrameInterval = frameinterval
  @PersonIds = personids
  @SimThreshold = simthreshold
  @TeacherFileContent = teacherfilecontent
end

Instance Attribute Details

#FileContentObject

Parameters:

  • FileContent:

    学生视频url

  • LibIds:

    需要检索的人脸合集库,不在库中的人脸将不参与精彩集锦;目前仅支持输入一个人脸库。

  • Functions:

    详细功能开关配置项

  • PersonInfoList:

    需要匹配的人员信息列表。

  • FrameInterval:

    视频处理的抽帧间隔,单位毫秒。建议留空。

  • PersonIds:

    旧版本需要匹配的人员信息列表。

  • SimThreshold:

    人脸检索的相似度阈值,默认值0.89。建议留空。

  • TeacherFileContent:

    老师视频url



3430
3431
3432
# File 'lib/v20190318/models.rb', line 3430

def FileContent
  @FileContent
end

#FrameIntervalObject

Parameters:

  • FileContent:

    学生视频url

  • LibIds:

    需要检索的人脸合集库,不在库中的人脸将不参与精彩集锦;目前仅支持输入一个人脸库。

  • Functions:

    详细功能开关配置项

  • PersonInfoList:

    需要匹配的人员信息列表。

  • FrameInterval:

    视频处理的抽帧间隔,单位毫秒。建议留空。

  • PersonIds:

    旧版本需要匹配的人员信息列表。

  • SimThreshold:

    人脸检索的相似度阈值,默认值0.89。建议留空。

  • TeacherFileContent:

    老师视频url



3430
3431
3432
# File 'lib/v20190318/models.rb', line 3430

def FrameInterval
  @FrameInterval
end

#FunctionsObject

Parameters:

  • FileContent:

    学生视频url

  • LibIds:

    需要检索的人脸合集库,不在库中的人脸将不参与精彩集锦;目前仅支持输入一个人脸库。

  • Functions:

    详细功能开关配置项

  • PersonInfoList:

    需要匹配的人员信息列表。

  • FrameInterval:

    视频处理的抽帧间隔,单位毫秒。建议留空。

  • PersonIds:

    旧版本需要匹配的人员信息列表。

  • SimThreshold:

    人脸检索的相似度阈值,默认值0.89。建议留空。

  • TeacherFileContent:

    老师视频url



3430
3431
3432
# File 'lib/v20190318/models.rb', line 3430

def Functions
  @Functions
end

#LibIdsObject

Parameters:

  • FileContent:

    学生视频url

  • LibIds:

    需要检索的人脸合集库,不在库中的人脸将不参与精彩集锦;目前仅支持输入一个人脸库。

  • Functions:

    详细功能开关配置项

  • PersonInfoList:

    需要匹配的人员信息列表。

  • FrameInterval:

    视频处理的抽帧间隔,单位毫秒。建议留空。

  • PersonIds:

    旧版本需要匹配的人员信息列表。

  • SimThreshold:

    人脸检索的相似度阈值,默认值0.89。建议留空。

  • TeacherFileContent:

    老师视频url



3430
3431
3432
# File 'lib/v20190318/models.rb', line 3430

def LibIds
  @LibIds
end

#PersonIdsObject

Parameters:

  • FileContent:

    学生视频url

  • LibIds:

    需要检索的人脸合集库,不在库中的人脸将不参与精彩集锦;目前仅支持输入一个人脸库。

  • Functions:

    详细功能开关配置项

  • PersonInfoList:

    需要匹配的人员信息列表。

  • FrameInterval:

    视频处理的抽帧间隔,单位毫秒。建议留空。

  • PersonIds:

    旧版本需要匹配的人员信息列表。

  • SimThreshold:

    人脸检索的相似度阈值,默认值0.89。建议留空。

  • TeacherFileContent:

    老师视频url



3430
3431
3432
# File 'lib/v20190318/models.rb', line 3430

def PersonIds
  @PersonIds
end

#PersonInfoListObject

Parameters:

  • FileContent:

    学生视频url

  • LibIds:

    需要检索的人脸合集库,不在库中的人脸将不参与精彩集锦;目前仅支持输入一个人脸库。

  • Functions:

    详细功能开关配置项

  • PersonInfoList:

    需要匹配的人员信息列表。

  • FrameInterval:

    视频处理的抽帧间隔,单位毫秒。建议留空。

  • PersonIds:

    旧版本需要匹配的人员信息列表。

  • SimThreshold:

    人脸检索的相似度阈值,默认值0.89。建议留空。

  • TeacherFileContent:

    老师视频url



3430
3431
3432
# File 'lib/v20190318/models.rb', line 3430

def PersonInfoList
  @PersonInfoList
end

#SimThresholdObject

Parameters:

  • FileContent:

    学生视频url

  • LibIds:

    需要检索的人脸合集库,不在库中的人脸将不参与精彩集锦;目前仅支持输入一个人脸库。

  • Functions:

    详细功能开关配置项

  • PersonInfoList:

    需要匹配的人员信息列表。

  • FrameInterval:

    视频处理的抽帧间隔,单位毫秒。建议留空。

  • PersonIds:

    旧版本需要匹配的人员信息列表。

  • SimThreshold:

    人脸检索的相似度阈值,默认值0.89。建议留空。

  • TeacherFileContent:

    老师视频url



3430
3431
3432
# File 'lib/v20190318/models.rb', line 3430

def SimThreshold
  @SimThreshold
end

#TeacherFileContentObject

Parameters:

  • FileContent:

    学生视频url

  • LibIds:

    需要检索的人脸合集库,不在库中的人脸将不参与精彩集锦;目前仅支持输入一个人脸库。

  • Functions:

    详细功能开关配置项

  • PersonInfoList:

    需要匹配的人员信息列表。

  • FrameInterval:

    视频处理的抽帧间隔,单位毫秒。建议留空。

  • PersonIds:

    旧版本需要匹配的人员信息列表。

  • SimThreshold:

    人脸检索的相似度阈值,默认值0.89。建议留空。

  • TeacherFileContent:

    老师视频url



3430
3431
3432
# File 'lib/v20190318/models.rb', line 3430

def TeacherFileContent
  @TeacherFileContent
end

Instance Method Details

#deserialize(params) ⇒ Object



3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
# File 'lib/v20190318/models.rb', line 3443

def deserialize(params)
  @FileContent = params['FileContent']
  @LibIds = params['LibIds']
  unless params['Functions'].nil?
    @Functions = DoubleVideoFunction.new
    @Functions.deserialize(params['Functions'])
  end
  unless params['PersonInfoList'].nil?
    @PersonInfoList = []
    params['PersonInfoList'].each do |i|
      personinfo_tmp = PersonInfo.new
      personinfo_tmp.deserialize(i)
      @PersonInfoList << personinfo_tmp
    end
  end
  @FrameInterval = params['FrameInterval']
  @PersonIds = params['PersonIds']
  @SimThreshold = params['SimThreshold']
  @TeacherFileContent = params['TeacherFileContent']
end