tencentcloud-sdk-tci 1.0.200

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4507 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Tci
19
+ module V20190318
20
+ # AIAssistant请求参数结构体
21
+ class AIAssistantRequest < TencentCloud::Common::AbstractModel
22
+ # @param FileContent: 输入分析对象内容,输入数据格式参考FileType参数释义
23
+ # @type FileContent: String
24
+ # @param FileType: 输入分析对象类型,picture_url:图片地址,vod_url:视频地址,live_url:直播地址,audio_url: 音频文件,picture:图片二进制数据的BASE64编码
25
+ # @type FileType: String
26
+ # @param Lang: 音频源的语言,默认0为英文,1为中文
27
+ # @type Lang: Integer
28
+ # @param LibrarySet: 查询人员库列表
29
+ # @type LibrarySet: Array
30
+ # @param MaxVideoDuration: 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
31
+ # @type MaxVideoDuration: Integer
32
+ # @param Template: 标准化模板选择:0:AI助教基础版本,1:AI评教基础版本,2:AI评教标准版本。AI 助教基础版本功能包括:人脸检索、人脸检测、人脸表情识别、学生动作选项,音频信息分析,微笑识别。AI 评教基础版本功能包括:人脸检索、人脸检测、人脸表情识别、音频信息分析。AI 评教标准版功能包括人脸检索、人脸检测、人脸表情识别、手势识别、音频信息分析、音频关键词分析、视频精彩集锦分析。
33
+ # @type Template: Integer
34
+ # @param VocabLibNameList: 识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析
35
+ # @type VocabLibNameList: Array
36
+ # @param VoiceEncodeType: 语音编码类型 1:pcm
37
+ # @type VoiceEncodeType: Integer
38
+ # @param VoiceFileType: 语音文件类型 1:raw, 2:wav, 3:mp3,10:视频(三种音频格式目前仅支持16k采样率16bit)
39
+ # @type VoiceFileType: Integer
40
+
41
+ attr_accessor :FileContent, :FileType, :Lang, :LibrarySet, :MaxVideoDuration, :Template, :VocabLibNameList, :VoiceEncodeType, :VoiceFileType
42
+
43
+ def initialize(filecontent=nil, filetype=nil, lang=nil, libraryset=nil, maxvideoduration=nil, template=nil, vocablibnamelist=nil, voiceencodetype=nil, voicefiletype=nil)
44
+ @FileContent = filecontent
45
+ @FileType = filetype
46
+ @Lang = lang
47
+ @LibrarySet = libraryset
48
+ @MaxVideoDuration = maxvideoduration
49
+ @Template = template
50
+ @VocabLibNameList = vocablibnamelist
51
+ @VoiceEncodeType = voiceencodetype
52
+ @VoiceFileType = voicefiletype
53
+ end
54
+
55
+ def deserialize(params)
56
+ @FileContent = params['FileContent']
57
+ @FileType = params['FileType']
58
+ @Lang = params['Lang']
59
+ @LibrarySet = params['LibrarySet']
60
+ @MaxVideoDuration = params['MaxVideoDuration']
61
+ @Template = params['Template']
62
+ @VocabLibNameList = params['VocabLibNameList']
63
+ @VoiceEncodeType = params['VoiceEncodeType']
64
+ @VoiceFileType = params['VoiceFileType']
65
+ end
66
+ end
67
+
68
+ # AIAssistant返回参数结构体
69
+ class AIAssistantResponse < TencentCloud::Common::AbstractModel
70
+ # @param ImageResults: 图像任务直接返回结果
71
+ # @type ImageResults: Array
72
+ # @param TaskId: 任务ID
73
+ # @type TaskId: Integer
74
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
75
+ # @type RequestId: String
76
+
77
+ attr_accessor :ImageResults, :TaskId, :RequestId
78
+
79
+ def initialize(imageresults=nil, taskid=nil, requestid=nil)
80
+ @ImageResults = imageresults
81
+ @TaskId = taskid
82
+ @RequestId = requestid
83
+ end
84
+
85
+ def deserialize(params)
86
+ unless params['ImageResults'].nil?
87
+ @ImageResults = []
88
+ params['ImageResults'].each do |i|
89
+ imagetaskresult_tmp = ImageTaskResult.new
90
+ imagetaskresult_tmp.deserialize(i)
91
+ @ImageResults << imagetaskresult_tmp
92
+ end
93
+ end
94
+ @TaskId = params['TaskId']
95
+ @RequestId = params['RequestId']
96
+ end
97
+ end
98
+
99
+ # 当前音频的统计结果
100
+ class ASRStat < TencentCloud::Common::AbstractModel
101
+ # @param AvgSpeed: 当前音频的平均语速
102
+ # @type AvgSpeed: Float
103
+ # @param AvgVolume: Vad的平均音量
104
+ # @type AvgVolume: Float
105
+ # @param MaxVolume: Vad的最大音量
106
+ # @type MaxVolume: Float
107
+ # @param MinVolume: Vad的最小音量
108
+ # @type MinVolume: Float
109
+ # @param MuteDuration: 当前音频的非发音时长
110
+ # @type MuteDuration: Integer
111
+ # @param SoundDuration: 当前音频的发音时长
112
+ # @type SoundDuration: Integer
113
+ # @param TotalDuration: 当前音频的总时长
114
+ # @type TotalDuration: Integer
115
+ # @param VadNum: 当前音频的句子总数
116
+ # @type VadNum: Integer
117
+ # @param WordNum: 当前音频的单词总数
118
+ # @type WordNum: Integer
119
+
120
+ attr_accessor :AvgSpeed, :AvgVolume, :MaxVolume, :MinVolume, :MuteDuration, :SoundDuration, :TotalDuration, :VadNum, :WordNum
121
+
122
+ def initialize(avgspeed=nil, avgvolume=nil, maxvolume=nil, minvolume=nil, muteduration=nil, soundduration=nil, totalduration=nil, vadnum=nil, wordnum=nil)
123
+ @AvgSpeed = avgspeed
124
+ @AvgVolume = avgvolume
125
+ @MaxVolume = maxvolume
126
+ @MinVolume = minvolume
127
+ @MuteDuration = muteduration
128
+ @SoundDuration = soundduration
129
+ @TotalDuration = totalduration
130
+ @VadNum = vadnum
131
+ @WordNum = wordnum
132
+ end
133
+
134
+ def deserialize(params)
135
+ @AvgSpeed = params['AvgSpeed']
136
+ @AvgVolume = params['AvgVolume']
137
+ @MaxVolume = params['MaxVolume']
138
+ @MinVolume = params['MinVolume']
139
+ @MuteDuration = params['MuteDuration']
140
+ @SoundDuration = params['SoundDuration']
141
+ @TotalDuration = params['TotalDuration']
142
+ @VadNum = params['VadNum']
143
+ @WordNum = params['WordNum']
144
+ end
145
+ end
146
+
147
+ # 缺勤人员信息
148
+ class AbsenceInfo < TencentCloud::Common::AbstractModel
149
+ # @param LibraryIds: 识别到的人员所在的库id
150
+ # @type LibraryIds: String
151
+ # @param PersonId: 识别到的人员id
152
+ # @type PersonId: String
153
+
154
+ attr_accessor :LibraryIds, :PersonId
155
+
156
+ def initialize(libraryids=nil, personid=nil)
157
+ @LibraryIds = libraryids
158
+ @PersonId = personid
159
+ end
160
+
161
+ def deserialize(params)
162
+ @LibraryIds = params['LibraryIds']
163
+ @PersonId = params['PersonId']
164
+ end
165
+ end
166
+
167
+ # 数量统计结果
168
+ class ActionCountStatistic < TencentCloud::Common::AbstractModel
169
+ # @param Count: 数量
170
+ # @type Count: Integer
171
+ # @param Name: 名称
172
+ # @type Name: String
173
+
174
+ attr_accessor :Count, :Name
175
+
176
+ def initialize(count=nil, name=nil)
177
+ @Count = count
178
+ @Name = name
179
+ end
180
+
181
+ def deserialize(params)
182
+ @Count = params['Count']
183
+ @Name = params['Name']
184
+ end
185
+ end
186
+
187
+ # 时长占比统计结果
188
+ class ActionDurationRatioStatistic < TencentCloud::Common::AbstractModel
189
+ # @param Name: 名称
190
+ # @type Name: String
191
+ # @param Ratio: 比例
192
+ # @type Ratio: Float
193
+
194
+ attr_accessor :Name, :Ratio
195
+
196
+ def initialize(name=nil, ratio=nil)
197
+ @Name = name
198
+ @Ratio = ratio
199
+ end
200
+
201
+ def deserialize(params)
202
+ @Name = params['Name']
203
+ @Ratio = params['Ratio']
204
+ end
205
+ end
206
+
207
+ # 时长统计结果
208
+ class ActionDurationStatistic < TencentCloud::Common::AbstractModel
209
+ # @param Duration: 时长
210
+ # @type Duration: Integer
211
+ # @param Name: 名称
212
+ # @type Name: String
213
+
214
+ attr_accessor :Duration, :Name
215
+
216
+ def initialize(duration=nil, name=nil)
217
+ @Duration = duration
218
+ @Name = name
219
+ end
220
+
221
+ def deserialize(params)
222
+ @Duration = params['Duration']
223
+ @Name = params['Name']
224
+ end
225
+ end
226
+
227
+ # 大教室场景肢体动作识别信息
228
+ class ActionInfo < TencentCloud::Common::AbstractModel
229
+ # @param BodyPosture: 躯体动作识别结果,包含坐着(sit)、站立(stand)和趴睡(sleep)
230
+ # @type BodyPosture: :class:`Tencentcloud::Tci.v20190318.models.ActionType`
231
+ # @param Handup: 举手识别结果,包含举手(hand)和未检测到举手(nothand)
232
+ # @type Handup: :class:`Tencentcloud::Tci.v20190318.models.ActionType`
233
+ # @param LookHead: 是否低头识别结果,包含抬头(lookingahead)和未检测到抬头(notlookingahead)
234
+ # @type LookHead: :class:`Tencentcloud::Tci.v20190318.models.ActionType`
235
+ # @param Writing: 是否写字识别结果,包含写字(write)和未检测到写字(notlookingahead)
236
+ # @type Writing: :class:`Tencentcloud::Tci.v20190318.models.ActionType`
237
+ # @param Height: 动作图像高度
238
+ # @type Height: Integer
239
+ # @param Left: 动作出现图像的左侧起始坐标位置
240
+ # @type Left: Integer
241
+ # @param Top: 动作出现图像的上侧起始侧坐标位置
242
+ # @type Top: Integer
243
+ # @param Width: 动作图像宽度
244
+ # @type Width: Integer
245
+
246
+ attr_accessor :BodyPosture, :Handup, :LookHead, :Writing, :Height, :Left, :Top, :Width
247
+
248
+ def initialize(bodyposture=nil, handup=nil, lookhead=nil, writing=nil, height=nil, left=nil, top=nil, width=nil)
249
+ @BodyPosture = bodyposture
250
+ @Handup = handup
251
+ @LookHead = lookhead
252
+ @Writing = writing
253
+ @Height = height
254
+ @Left = left
255
+ @Top = top
256
+ @Width = width
257
+ end
258
+
259
+ def deserialize(params)
260
+ unless params['BodyPosture'].nil?
261
+ @BodyPosture = ActionType.new
262
+ @BodyPosture.deserialize(params['BodyPosture'])
263
+ end
264
+ unless params['Handup'].nil?
265
+ @Handup = ActionType.new
266
+ @Handup.deserialize(params['Handup'])
267
+ end
268
+ unless params['LookHead'].nil?
269
+ @LookHead = ActionType.new
270
+ @LookHead.deserialize(params['LookHead'])
271
+ end
272
+ unless params['Writing'].nil?
273
+ @Writing = ActionType.new
274
+ @Writing.deserialize(params['Writing'])
275
+ end
276
+ @Height = params['Height']
277
+ @Left = params['Left']
278
+ @Top = params['Top']
279
+ @Width = params['Width']
280
+ end
281
+ end
282
+
283
+ # 统计结果
284
+ class ActionStatistic < TencentCloud::Common::AbstractModel
285
+ # @param ActionCount: 数量统计
286
+ # @type ActionCount: Array
287
+ # @param ActionDuration: 时长统计
288
+ # @type ActionDuration: Array
289
+ # @param ActionDurationRatio: 时长比例统计
290
+ # @type ActionDurationRatio: Array
291
+
292
+ attr_accessor :ActionCount, :ActionDuration, :ActionDurationRatio
293
+
294
+ def initialize(actioncount=nil, actionduration=nil, actiondurationratio=nil)
295
+ @ActionCount = actioncount
296
+ @ActionDuration = actionduration
297
+ @ActionDurationRatio = actiondurationratio
298
+ end
299
+
300
+ def deserialize(params)
301
+ unless params['ActionCount'].nil?
302
+ @ActionCount = []
303
+ params['ActionCount'].each do |i|
304
+ actioncountstatistic_tmp = ActionCountStatistic.new
305
+ actioncountstatistic_tmp.deserialize(i)
306
+ @ActionCount << actioncountstatistic_tmp
307
+ end
308
+ end
309
+ unless params['ActionDuration'].nil?
310
+ @ActionDuration = []
311
+ params['ActionDuration'].each do |i|
312
+ actiondurationstatistic_tmp = ActionDurationStatistic.new
313
+ actiondurationstatistic_tmp.deserialize(i)
314
+ @ActionDuration << actiondurationstatistic_tmp
315
+ end
316
+ end
317
+ unless params['ActionDurationRatio'].nil?
318
+ @ActionDurationRatio = []
319
+ params['ActionDurationRatio'].each do |i|
320
+ actiondurationratiostatistic_tmp = ActionDurationRatioStatistic.new
321
+ actiondurationratiostatistic_tmp.deserialize(i)
322
+ @ActionDurationRatio << actiondurationratiostatistic_tmp
323
+ end
324
+ end
325
+ end
326
+ end
327
+
328
+ # 动作行为子类型
329
+ class ActionType < TencentCloud::Common::AbstractModel
330
+ # @param Confidence: 置信度
331
+ # @type Confidence: Float
332
+ # @param Type: 动作类别
333
+ # @type Type: String
334
+
335
+ attr_accessor :Confidence, :Type
336
+
337
+ def initialize(confidence=nil, type=nil)
338
+ @Confidence = confidence
339
+ @Type = type
340
+ end
341
+
342
+ def deserialize(params)
343
+ @Confidence = params['Confidence']
344
+ @Type = params['Type']
345
+ end
346
+ end
347
+
348
+ # 如果请求中开启了静音检测开关,则会返回所有的静音片段(静音时长超过阈值的片段)。
349
+ class AllMuteSlice < TencentCloud::Common::AbstractModel
350
+ # @param MuteSlice: 所有静音片段。
351
+ # @type MuteSlice: Array
352
+ # @param MuteRatio: 静音时长占比。
353
+ # @type MuteRatio: Float
354
+ # @param TotalMuteDuration: 静音总时长。
355
+ # @type TotalMuteDuration: Integer
356
+
357
+ attr_accessor :MuteSlice, :MuteRatio, :TotalMuteDuration
358
+
359
+ def initialize(muteslice=nil, muteratio=nil, totalmuteduration=nil)
360
+ @MuteSlice = muteslice
361
+ @MuteRatio = muteratio
362
+ @TotalMuteDuration = totalmuteduration
363
+ end
364
+
365
+ def deserialize(params)
366
+ unless params['MuteSlice'].nil?
367
+ @MuteSlice = []
368
+ params['MuteSlice'].each do |i|
369
+ muteslice_tmp = MuteSlice.new
370
+ muteslice_tmp.deserialize(i)
371
+ @MuteSlice << muteslice_tmp
372
+ end
373
+ end
374
+ @MuteRatio = params['MuteRatio']
375
+ @TotalMuteDuration = params['TotalMuteDuration']
376
+ end
377
+ end
378
+
379
+ # 识别到的人员信息
380
+ class AttendanceInfo < TencentCloud::Common::AbstractModel
381
+ # @param Face: 识别到的人员信息
382
+ # @type Face: :class:`Tencentcloud::Tci.v20190318.models.FrameInfo`
383
+ # @param PersonId: 识别到的人员id
384
+ # @type PersonId: String
385
+
386
+ attr_accessor :Face, :PersonId
387
+
388
+ def initialize(face=nil, personid=nil)
389
+ @Face = face
390
+ @PersonId = personid
391
+ end
392
+
393
+ def deserialize(params)
394
+ unless params['Face'].nil?
395
+ @Face = FrameInfo.new
396
+ @Face.deserialize(params['Face'])
397
+ end
398
+ @PersonId = params['PersonId']
399
+ end
400
+ end
401
+
402
+ # 老师肢体动作识别结果
403
+ class BodyMovementResult < TencentCloud::Common::AbstractModel
404
+ # @param Confidence: 置信度
405
+ # @type Confidence: Float
406
+ # @param Height: 识别结果高度
407
+ # @type Height: Integer
408
+ # @param Left: 识别结果左坐标
409
+ # @type Left: Integer
410
+ # @param Movements: 老师动作识别结果,包含
411
+ # 1、teach_on_positive_attitude 正面讲解
412
+ # 2、point_to_the_blackboard 指黑板
413
+ # 3、writing_blackboard 写板书
414
+ # 4、other 其他
415
+ # @type Movements: String
416
+ # @param Top: 识别结果顶坐标
417
+ # @type Top: Integer
418
+ # @param Width: 识别结果宽度
419
+ # @type Width: Integer
420
+
421
+ attr_accessor :Confidence, :Height, :Left, :Movements, :Top, :Width
422
+
423
+ def initialize(confidence=nil, height=nil, left=nil, movements=nil, top=nil, width=nil)
424
+ @Confidence = confidence
425
+ @Height = height
426
+ @Left = left
427
+ @Movements = movements
428
+ @Top = top
429
+ @Width = width
430
+ end
431
+
432
+ def deserialize(params)
433
+ @Confidence = params['Confidence']
434
+ @Height = params['Height']
435
+ @Left = params['Left']
436
+ @Movements = params['Movements']
437
+ @Top = params['Top']
438
+ @Width = params['Width']
439
+ end
440
+ end
441
+
442
+ # CancelTask请求参数结构体
443
+ class CancelTaskRequest < TencentCloud::Common::AbstractModel
444
+ # @param JobId: 待取消任务标志符。
445
+ # @type JobId: Integer
446
+
447
+ attr_accessor :JobId
448
+
449
+ def initialize(jobid=nil)
450
+ @JobId = jobid
451
+ end
452
+
453
+ def deserialize(params)
454
+ @JobId = params['JobId']
455
+ end
456
+ end
457
+
458
+ # CancelTask返回参数结构体
459
+ class CancelTaskResponse < TencentCloud::Common::AbstractModel
460
+ # @param JobId: 取消任务标志符。
461
+ # @type JobId: Integer
462
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
463
+ # @type RequestId: String
464
+
465
+ attr_accessor :JobId, :RequestId
466
+
467
+ def initialize(jobid=nil, requestid=nil)
468
+ @JobId = jobid
469
+ @RequestId = requestid
470
+ end
471
+
472
+ def deserialize(params)
473
+ @JobId = params['JobId']
474
+ @RequestId = params['RequestId']
475
+ end
476
+ end
477
+
478
+ # CheckFacePhoto请求参数结构体
479
+ class CheckFacePhotoRequest < TencentCloud::Common::AbstractModel
480
+ # @param FileContent: 输入分析对象内容
481
+ # @type FileContent: String
482
+ # @param FileType: 输入分析对象类型,picture_url:图片地址
483
+ # @type FileType: String
484
+
485
+ attr_accessor :FileContent, :FileType
486
+
487
+ def initialize(filecontent=nil, filetype=nil)
488
+ @FileContent = filecontent
489
+ @FileType = filetype
490
+ end
491
+
492
+ def deserialize(params)
493
+ @FileContent = params['FileContent']
494
+ @FileType = params['FileType']
495
+ end
496
+ end
497
+
498
+ # CheckFacePhoto返回参数结构体
499
+ class CheckFacePhotoResponse < TencentCloud::Common::AbstractModel
500
+ # @param CheckResult: 人脸检查结果,0:通过检查,1:图片模糊
501
+ # @type CheckResult: Integer
502
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
503
+ # @type RequestId: String
504
+
505
+ attr_accessor :CheckResult, :RequestId
506
+
507
+ def initialize(checkresult=nil, requestid=nil)
508
+ @CheckResult = checkresult
509
+ @RequestId = requestid
510
+ end
511
+
512
+ def deserialize(params)
513
+ @CheckResult = params['CheckResult']
514
+ @RequestId = params['RequestId']
515
+ end
516
+ end
517
+
518
+ # CreateFace请求参数结构体
519
+ class CreateFaceRequest < TencentCloud::Common::AbstractModel
520
+ # @param PersonId: 人员唯一标识符
521
+ # @type PersonId: String
522
+ # @param Images: 图片数据 base64 字符串,与 Urls 参数选择一个输入
523
+ # @type Images: Array
524
+ # @param LibraryId: 人员库唯一标识符
525
+ # @type LibraryId: String
526
+ # @param Urls: 图片下载地址,与 Images 参数选择一个输入
527
+ # @type Urls: Array
528
+
529
+ attr_accessor :PersonId, :Images, :LibraryId, :Urls
530
+
531
+ def initialize(personid=nil, images=nil, libraryid=nil, urls=nil)
532
+ @PersonId = personid
533
+ @Images = images
534
+ @LibraryId = libraryid
535
+ @Urls = urls
536
+ end
537
+
538
+ def deserialize(params)
539
+ @PersonId = params['PersonId']
540
+ @Images = params['Images']
541
+ @LibraryId = params['LibraryId']
542
+ @Urls = params['Urls']
543
+ end
544
+ end
545
+
546
+ # CreateFace返回参数结构体
547
+ class CreateFaceResponse < TencentCloud::Common::AbstractModel
548
+ # @param FaceInfoSet: 人脸操作结果信息
549
+ # @type FaceInfoSet: Array
550
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
551
+ # @type RequestId: String
552
+
553
+ attr_accessor :FaceInfoSet, :RequestId
554
+
555
+ def initialize(faceinfoset=nil, requestid=nil)
556
+ @FaceInfoSet = faceinfoset
557
+ @RequestId = requestid
558
+ end
559
+
560
+ def deserialize(params)
561
+ unless params['FaceInfoSet'].nil?
562
+ @FaceInfoSet = []
563
+ params['FaceInfoSet'].each do |i|
564
+ faceinfo_tmp = FaceInfo.new
565
+ faceinfo_tmp.deserialize(i)
566
+ @FaceInfoSet << faceinfo_tmp
567
+ end
568
+ end
569
+ @RequestId = params['RequestId']
570
+ end
571
+ end
572
+
573
+ # CreateLibrary请求参数结构体
574
+ class CreateLibraryRequest < TencentCloud::Common::AbstractModel
575
+ # @param LibraryName: 人员库名称
576
+ # @type LibraryName: String
577
+ # @param LibraryId: 人员库唯一标志符,为空则系统自动生成。
578
+ # @type LibraryId: String
579
+
580
+ attr_accessor :LibraryName, :LibraryId
581
+
582
+ def initialize(libraryname=nil, libraryid=nil)
583
+ @LibraryName = libraryname
584
+ @LibraryId = libraryid
585
+ end
586
+
587
+ def deserialize(params)
588
+ @LibraryName = params['LibraryName']
589
+ @LibraryId = params['LibraryId']
590
+ end
591
+ end
592
+
593
+ # CreateLibrary返回参数结构体
594
+ class CreateLibraryResponse < TencentCloud::Common::AbstractModel
595
+ # @param LibraryId: 人员库唯一标识符
596
+ # @type LibraryId: String
597
+ # @param LibraryName: 人员库名称
598
+ # @type LibraryName: String
599
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
600
+ # @type RequestId: String
601
+
602
+ attr_accessor :LibraryId, :LibraryName, :RequestId
603
+
604
+ def initialize(libraryid=nil, libraryname=nil, requestid=nil)
605
+ @LibraryId = libraryid
606
+ @LibraryName = libraryname
607
+ @RequestId = requestid
608
+ end
609
+
610
+ def deserialize(params)
611
+ @LibraryId = params['LibraryId']
612
+ @LibraryName = params['LibraryName']
613
+ @RequestId = params['RequestId']
614
+ end
615
+ end
616
+
617
+ # CreatePerson请求参数结构体
618
+ class CreatePersonRequest < TencentCloud::Common::AbstractModel
619
+ # @param LibraryId: 人员库唯一标识符
620
+ # @type LibraryId: String
621
+ # @param PersonName: 人员名称
622
+ # @type PersonName: String
623
+ # @param Images: 图片数据 base64 字符串,与 Urls 参数选择一个输入
624
+ # @type Images: Array
625
+ # @param JobNumber: 人员工作号码
626
+ # @type JobNumber: String
627
+ # @param Mail: 人员邮箱
628
+ # @type Mail: String
629
+ # @param Male: 人员性别,0:未知 1:男性,2:女性
630
+ # @type Male: Integer
631
+ # @param PersonId: 自定义人员 ID,注意不能使用 tci_person_ 前缀
632
+ # @type PersonId: String
633
+ # @param PhoneNumber: 人员电话号码
634
+ # @type PhoneNumber: String
635
+ # @param StudentNumber: 人员学生号码
636
+ # @type StudentNumber: String
637
+ # @param Urls: 图片下载地址,与 Images 参数选择一个输入
638
+ # @type Urls: Array
639
+
640
+ attr_accessor :LibraryId, :PersonName, :Images, :JobNumber, :Mail, :Male, :PersonId, :PhoneNumber, :StudentNumber, :Urls
641
+
642
+ def initialize(libraryid=nil, personname=nil, images=nil, jobnumber=nil, mail=nil, male=nil, personid=nil, phonenumber=nil, studentnumber=nil, urls=nil)
643
+ @LibraryId = libraryid
644
+ @PersonName = personname
645
+ @Images = images
646
+ @JobNumber = jobnumber
647
+ @Mail = mail
648
+ @Male = male
649
+ @PersonId = personid
650
+ @PhoneNumber = phonenumber
651
+ @StudentNumber = studentnumber
652
+ @Urls = urls
653
+ end
654
+
655
+ def deserialize(params)
656
+ @LibraryId = params['LibraryId']
657
+ @PersonName = params['PersonName']
658
+ @Images = params['Images']
659
+ @JobNumber = params['JobNumber']
660
+ @Mail = params['Mail']
661
+ @Male = params['Male']
662
+ @PersonId = params['PersonId']
663
+ @PhoneNumber = params['PhoneNumber']
664
+ @StudentNumber = params['StudentNumber']
665
+ @Urls = params['Urls']
666
+ end
667
+ end
668
+
669
+ # CreatePerson返回参数结构体
670
+ class CreatePersonResponse < TencentCloud::Common::AbstractModel
671
+ # @param FaceInfoSet: 人脸操作结果信息
672
+ # @type FaceInfoSet: Array
673
+ # @param LibraryId: 人员库唯一标识符
674
+ # @type LibraryId: String
675
+ # @param PersonId: 人员唯一标识符
676
+ # @type PersonId: String
677
+ # @param PersonName: 人员名称
678
+ # @type PersonName: String
679
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
680
+ # @type RequestId: String
681
+
682
+ attr_accessor :FaceInfoSet, :LibraryId, :PersonId, :PersonName, :RequestId
683
+
684
+ def initialize(faceinfoset=nil, libraryid=nil, personid=nil, personname=nil, requestid=nil)
685
+ @FaceInfoSet = faceinfoset
686
+ @LibraryId = libraryid
687
+ @PersonId = personid
688
+ @PersonName = personname
689
+ @RequestId = requestid
690
+ end
691
+
692
+ def deserialize(params)
693
+ unless params['FaceInfoSet'].nil?
694
+ @FaceInfoSet = []
695
+ params['FaceInfoSet'].each do |i|
696
+ faceinfo_tmp = FaceInfo.new
697
+ faceinfo_tmp.deserialize(i)
698
+ @FaceInfoSet << faceinfo_tmp
699
+ end
700
+ end
701
+ @LibraryId = params['LibraryId']
702
+ @PersonId = params['PersonId']
703
+ @PersonName = params['PersonName']
704
+ @RequestId = params['RequestId']
705
+ end
706
+ end
707
+
708
+ # CreateVocabLib请求参数结构体
709
+ class CreateVocabLibRequest < TencentCloud::Common::AbstractModel
710
+ # @param VocabLibName: 词汇库名称
711
+ # @type VocabLibName: String
712
+
713
+ attr_accessor :VocabLibName
714
+
715
+ def initialize(vocablibname=nil)
716
+ @VocabLibName = vocablibname
717
+ end
718
+
719
+ def deserialize(params)
720
+ @VocabLibName = params['VocabLibName']
721
+ end
722
+ end
723
+
724
+ # CreateVocabLib返回参数结构体
725
+ class CreateVocabLibResponse < TencentCloud::Common::AbstractModel
726
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
727
+ # @type RequestId: String
728
+
729
+ attr_accessor :RequestId
730
+
731
+ def initialize(requestid=nil)
732
+ @RequestId = requestid
733
+ end
734
+
735
+ def deserialize(params)
736
+ @RequestId = params['RequestId']
737
+ end
738
+ end
739
+
740
+ # CreateVocab请求参数结构体
741
+ class CreateVocabRequest < TencentCloud::Common::AbstractModel
742
+ # @param VocabLibName: 要添加词汇的词汇库名
743
+ # @type VocabLibName: String
744
+ # @param VocabList: 要添加的词汇列表
745
+ # @type VocabList: Array
746
+
747
+ attr_accessor :VocabLibName, :VocabList
748
+
749
+ def initialize(vocablibname=nil, vocablist=nil)
750
+ @VocabLibName = vocablibname
751
+ @VocabList = vocablist
752
+ end
753
+
754
+ def deserialize(params)
755
+ @VocabLibName = params['VocabLibName']
756
+ @VocabList = params['VocabList']
757
+ end
758
+ end
759
+
760
+ # CreateVocab返回参数结构体
761
+ class CreateVocabResponse < TencentCloud::Common::AbstractModel
762
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
763
+ # @type RequestId: String
764
+
765
+ attr_accessor :RequestId
766
+
767
+ def initialize(requestid=nil)
768
+ @RequestId = requestid
769
+ end
770
+
771
+ def deserialize(params)
772
+ @RequestId = params['RequestId']
773
+ end
774
+ end
775
+
776
+ # DeleteFace请求参数结构体
777
+ class DeleteFaceRequest < TencentCloud::Common::AbstractModel
778
+ # @param FaceIdSet: 人脸标识符数组
779
+ # @type FaceIdSet: Array
780
+ # @param PersonId: 人员唯一标识符
781
+ # @type PersonId: String
782
+ # @param LibraryId: 人员库唯一标识符
783
+ # @type LibraryId: String
784
+
785
+ attr_accessor :FaceIdSet, :PersonId, :LibraryId
786
+
787
+ def initialize(faceidset=nil, personid=nil, libraryid=nil)
788
+ @FaceIdSet = faceidset
789
+ @PersonId = personid
790
+ @LibraryId = libraryid
791
+ end
792
+
793
+ def deserialize(params)
794
+ @FaceIdSet = params['FaceIdSet']
795
+ @PersonId = params['PersonId']
796
+ @LibraryId = params['LibraryId']
797
+ end
798
+ end
799
+
800
+ # DeleteFace返回参数结构体
801
+ class DeleteFaceResponse < TencentCloud::Common::AbstractModel
802
+ # @param FaceInfoSet: 人脸操作结果
803
+ # @type FaceInfoSet: Array
804
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
805
+ # @type RequestId: String
806
+
807
+ attr_accessor :FaceInfoSet, :RequestId
808
+
809
+ def initialize(faceinfoset=nil, requestid=nil)
810
+ @FaceInfoSet = faceinfoset
811
+ @RequestId = requestid
812
+ end
813
+
814
+ def deserialize(params)
815
+ unless params['FaceInfoSet'].nil?
816
+ @FaceInfoSet = []
817
+ params['FaceInfoSet'].each do |i|
818
+ faceinfo_tmp = FaceInfo.new
819
+ faceinfo_tmp.deserialize(i)
820
+ @FaceInfoSet << faceinfo_tmp
821
+ end
822
+ end
823
+ @RequestId = params['RequestId']
824
+ end
825
+ end
826
+
827
+ # DeleteLibrary请求参数结构体
828
+ class DeleteLibraryRequest < TencentCloud::Common::AbstractModel
829
+ # @param LibraryId: 人员库唯一标识符
830
+ # @type LibraryId: String
831
+
832
+ attr_accessor :LibraryId
833
+
834
+ def initialize(libraryid=nil)
835
+ @LibraryId = libraryid
836
+ end
837
+
838
+ def deserialize(params)
839
+ @LibraryId = params['LibraryId']
840
+ end
841
+ end
842
+
843
+ # DeleteLibrary返回参数结构体
844
+ class DeleteLibraryResponse < TencentCloud::Common::AbstractModel
845
+ # @param LibraryId: 人员库唯一标识符
846
+ # @type LibraryId: String
847
+ # @param LibraryName: 人员库名称
848
+ # @type LibraryName: String
849
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
850
+ # @type RequestId: String
851
+
852
+ attr_accessor :LibraryId, :LibraryName, :RequestId
853
+
854
+ def initialize(libraryid=nil, libraryname=nil, requestid=nil)
855
+ @LibraryId = libraryid
856
+ @LibraryName = libraryname
857
+ @RequestId = requestid
858
+ end
859
+
860
+ def deserialize(params)
861
+ @LibraryId = params['LibraryId']
862
+ @LibraryName = params['LibraryName']
863
+ @RequestId = params['RequestId']
864
+ end
865
+ end
866
+
867
+ # DeletePerson请求参数结构体
868
+ class DeletePersonRequest < TencentCloud::Common::AbstractModel
869
+ # @param LibraryId: 人员库唯一标识符
870
+ # @type LibraryId: String
871
+ # @param PersonId: 人员唯一标识符
872
+ # @type PersonId: String
873
+
874
+ attr_accessor :LibraryId, :PersonId
875
+
876
+ def initialize(libraryid=nil, personid=nil)
877
+ @LibraryId = libraryid
878
+ @PersonId = personid
879
+ end
880
+
881
+ def deserialize(params)
882
+ @LibraryId = params['LibraryId']
883
+ @PersonId = params['PersonId']
884
+ end
885
+ end
886
+
887
+ # DeletePerson返回参数结构体
888
+ class DeletePersonResponse < TencentCloud::Common::AbstractModel
889
+ # @param FaceInfoSet: 人脸信息
890
+ # @type FaceInfoSet: Array
891
+ # @param LibraryId: 人员库唯一标识符
892
+ # @type LibraryId: String
893
+ # @param PersonId: 人员唯一标识符
894
+ # @type PersonId: String
895
+ # @param PersonName: 人员名称
896
+ # @type PersonName: String
897
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
898
+ # @type RequestId: String
899
+
900
+ attr_accessor :FaceInfoSet, :LibraryId, :PersonId, :PersonName, :RequestId
901
+
902
+ def initialize(faceinfoset=nil, libraryid=nil, personid=nil, personname=nil, requestid=nil)
903
+ @FaceInfoSet = faceinfoset
904
+ @LibraryId = libraryid
905
+ @PersonId = personid
906
+ @PersonName = personname
907
+ @RequestId = requestid
908
+ end
909
+
910
+ def deserialize(params)
911
+ unless params['FaceInfoSet'].nil?
912
+ @FaceInfoSet = []
913
+ params['FaceInfoSet'].each do |i|
914
+ faceinfo_tmp = FaceInfo.new
915
+ faceinfo_tmp.deserialize(i)
916
+ @FaceInfoSet << faceinfo_tmp
917
+ end
918
+ end
919
+ @LibraryId = params['LibraryId']
920
+ @PersonId = params['PersonId']
921
+ @PersonName = params['PersonName']
922
+ @RequestId = params['RequestId']
923
+ end
924
+ end
925
+
926
+ # DeleteVocabLib请求参数结构体
927
+ class DeleteVocabLibRequest < TencentCloud::Common::AbstractModel
928
+ # @param VocabLibName: 词汇库名称
929
+ # @type VocabLibName: String
930
+
931
+ attr_accessor :VocabLibName
932
+
933
+ def initialize(vocablibname=nil)
934
+ @VocabLibName = vocablibname
935
+ end
936
+
937
+ def deserialize(params)
938
+ @VocabLibName = params['VocabLibName']
939
+ end
940
+ end
941
+
942
+ # DeleteVocabLib返回参数结构体
943
+ class DeleteVocabLibResponse < TencentCloud::Common::AbstractModel
944
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
945
+ # @type RequestId: String
946
+
947
+ attr_accessor :RequestId
948
+
949
+ def initialize(requestid=nil)
950
+ @RequestId = requestid
951
+ end
952
+
953
+ def deserialize(params)
954
+ @RequestId = params['RequestId']
955
+ end
956
+ end
957
+
958
+ # DeleteVocab请求参数结构体
959
+ class DeleteVocabRequest < TencentCloud::Common::AbstractModel
960
+ # @param VocabLibName: 要删除词汇的词汇库名
961
+ # @type VocabLibName: String
962
+ # @param VocabList: 要删除的词汇列表
963
+ # @type VocabList: Array
964
+
965
+ attr_accessor :VocabLibName, :VocabList
966
+
967
+ def initialize(vocablibname=nil, vocablist=nil)
968
+ @VocabLibName = vocablibname
969
+ @VocabList = vocablist
970
+ end
971
+
972
+ def deserialize(params)
973
+ @VocabLibName = params['VocabLibName']
974
+ @VocabList = params['VocabList']
975
+ end
976
+ end
977
+
978
+ # DeleteVocab返回参数结构体
979
+ class DeleteVocabResponse < TencentCloud::Common::AbstractModel
980
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
981
+ # @type RequestId: String
982
+
983
+ attr_accessor :RequestId
984
+
985
+ def initialize(requestid=nil)
986
+ @RequestId = requestid
987
+ end
988
+
989
+ def deserialize(params)
990
+ @RequestId = params['RequestId']
991
+ end
992
+ end
993
+
994
+ # DescribeAITaskResult请求参数结构体
995
+ class DescribeAITaskResultRequest < TencentCloud::Common::AbstractModel
996
+ # @param TaskId: 任务唯一标识符。在URL方式时提交请求后会返回一个任务标识符,后续查询该url的结果时使用这个标识符进行查询。
997
+ # @type TaskId: Integer
998
+ # @param Limit: 限制数目
999
+ # @type Limit: Integer
1000
+ # @param Offset: 偏移量
1001
+ # @type Offset: Integer
1002
+
1003
+ attr_accessor :TaskId, :Limit, :Offset
1004
+
1005
+ def initialize(taskid=nil, limit=nil, offset=nil)
1006
+ @TaskId = taskid
1007
+ @Limit = limit
1008
+ @Offset = offset
1009
+ end
1010
+
1011
+ def deserialize(params)
1012
+ @TaskId = params['TaskId']
1013
+ @Limit = params['Limit']
1014
+ @Offset = params['Offset']
1015
+ end
1016
+ end
1017
+
1018
+ # DescribeAITaskResult返回参数结构体
1019
+ class DescribeAITaskResultResponse < TencentCloud::Common::AbstractModel
1020
+ # @param AudioResult: 音频分析结果
1021
+ # @type AudioResult: :class:`Tencentcloud::Tci.v20190318.models.StandardAudioResult`
1022
+ # @param ImageResult: 图像分析结果
1023
+ # @type ImageResult: :class:`Tencentcloud::Tci.v20190318.models.StandardImageResult`
1024
+ # @param VideoResult: 视频分析结果
1025
+ # @type VideoResult: :class:`Tencentcloud::Tci.v20190318.models.StandardVideoResult`
1026
+ # @param Status: 任务状态
1027
+ # @type Status: String
1028
+ # @param TaskId: 任务唯一id。在URL方式时提交请求后会返回一个jobid,后续查询该url的结果时使用这个jobid进行查询。
1029
+ # @type TaskId: Integer
1030
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1031
+ # @type RequestId: String
1032
+
1033
+ attr_accessor :AudioResult, :ImageResult, :VideoResult, :Status, :TaskId, :RequestId
1034
+
1035
+ def initialize(audioresult=nil, imageresult=nil, videoresult=nil, status=nil, taskid=nil, requestid=nil)
1036
+ @AudioResult = audioresult
1037
+ @ImageResult = imageresult
1038
+ @VideoResult = videoresult
1039
+ @Status = status
1040
+ @TaskId = taskid
1041
+ @RequestId = requestid
1042
+ end
1043
+
1044
+ def deserialize(params)
1045
+ unless params['AudioResult'].nil?
1046
+ @AudioResult = StandardAudioResult.new
1047
+ @AudioResult.deserialize(params['AudioResult'])
1048
+ end
1049
+ unless params['ImageResult'].nil?
1050
+ @ImageResult = StandardImageResult.new
1051
+ @ImageResult.deserialize(params['ImageResult'])
1052
+ end
1053
+ unless params['VideoResult'].nil?
1054
+ @VideoResult = StandardVideoResult.new
1055
+ @VideoResult.deserialize(params['VideoResult'])
1056
+ end
1057
+ @Status = params['Status']
1058
+ @TaskId = params['TaskId']
1059
+ @RequestId = params['RequestId']
1060
+ end
1061
+ end
1062
+
1063
+ # DescribeAttendanceResult请求参数结构体
1064
+ class DescribeAttendanceResultRequest < TencentCloud::Common::AbstractModel
1065
+ # @param JobId: 任务唯一标识符
1066
+ # @type JobId: Integer
1067
+
1068
+ attr_accessor :JobId
1069
+
1070
+ def initialize(jobid=nil)
1071
+ @JobId = jobid
1072
+ end
1073
+
1074
+ def deserialize(params)
1075
+ @JobId = params['JobId']
1076
+ end
1077
+ end
1078
+
1079
+ # DescribeAttendanceResult返回参数结构体
1080
+ class DescribeAttendanceResultResponse < TencentCloud::Common::AbstractModel
1081
+ # @param AbsenceSetInLibs: 缺失人员的ID列表(只针对请求中的libids字段)
1082
+ # @type AbsenceSetInLibs: Array
1083
+ # @param AttendanceSet: 确定出勤人员列表
1084
+ # @type AttendanceSet: Array
1085
+ # @param SuspectedSet: 疑似出勤人员列表
1086
+ # @type SuspectedSet: Array
1087
+ # @param AbsenceSet: 缺失人员的ID列表(只针对请求中的personids字段)
1088
+ # @type AbsenceSet: Array
1089
+ # @param Progress: 请求处理进度
1090
+ # @type Progress: Integer
1091
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1092
+ # @type RequestId: String
1093
+
1094
+ attr_accessor :AbsenceSetInLibs, :AttendanceSet, :SuspectedSet, :AbsenceSet, :Progress, :RequestId
1095
+
1096
+ def initialize(absencesetinlibs=nil, attendanceset=nil, suspectedset=nil, absenceset=nil, progress=nil, requestid=nil)
1097
+ @AbsenceSetInLibs = absencesetinlibs
1098
+ @AttendanceSet = attendanceset
1099
+ @SuspectedSet = suspectedset
1100
+ @AbsenceSet = absenceset
1101
+ @Progress = progress
1102
+ @RequestId = requestid
1103
+ end
1104
+
1105
+ def deserialize(params)
1106
+ unless params['AbsenceSetInLibs'].nil?
1107
+ @AbsenceSetInLibs = []
1108
+ params['AbsenceSetInLibs'].each do |i|
1109
+ absenceinfo_tmp = AbsenceInfo.new
1110
+ absenceinfo_tmp.deserialize(i)
1111
+ @AbsenceSetInLibs << absenceinfo_tmp
1112
+ end
1113
+ end
1114
+ unless params['AttendanceSet'].nil?
1115
+ @AttendanceSet = []
1116
+ params['AttendanceSet'].each do |i|
1117
+ attendanceinfo_tmp = AttendanceInfo.new
1118
+ attendanceinfo_tmp.deserialize(i)
1119
+ @AttendanceSet << attendanceinfo_tmp
1120
+ end
1121
+ end
1122
+ unless params['SuspectedSet'].nil?
1123
+ @SuspectedSet = []
1124
+ params['SuspectedSet'].each do |i|
1125
+ suspectedinfo_tmp = SuspectedInfo.new
1126
+ suspectedinfo_tmp.deserialize(i)
1127
+ @SuspectedSet << suspectedinfo_tmp
1128
+ end
1129
+ end
1130
+ @AbsenceSet = params['AbsenceSet']
1131
+ @Progress = params['Progress']
1132
+ @RequestId = params['RequestId']
1133
+ end
1134
+ end
1135
+
1136
+ # DescribeAudioTask请求参数结构体
1137
+ class DescribeAudioTaskRequest < TencentCloud::Common::AbstractModel
1138
+ # @param JobId: 音频任务唯一id。在URL方式时提交请求后会返回一个jobid,后续查询该url的结果时使用这个jobid进行查询。
1139
+ # @type JobId: Integer
1140
+ # @param Limit: 限制数目
1141
+ # @type Limit: Integer
1142
+ # @param Offset: 偏移量
1143
+ # @type Offset: Integer
1144
+
1145
+ attr_accessor :JobId, :Limit, :Offset
1146
+
1147
+ def initialize(jobid=nil, limit=nil, offset=nil)
1148
+ @JobId = jobid
1149
+ @Limit = limit
1150
+ @Offset = offset
1151
+ end
1152
+
1153
+ def deserialize(params)
1154
+ @JobId = params['JobId']
1155
+ @Limit = params['Limit']
1156
+ @Offset = params['Offset']
1157
+ end
1158
+ end
1159
+
1160
+ # DescribeAudioTask返回参数结构体
1161
+ class DescribeAudioTaskResponse < TencentCloud::Common::AbstractModel
1162
+ # @param AllMuteSlice: 如果请求中开启了静音检测开关,则会返回所有的静音片段(静音时长超过阈值的片段)。
1163
+ # @type AllMuteSlice: :class:`Tencentcloud::Tci.v20190318.models.AllMuteSlice`
1164
+ # @param AsrStat: 返回的当前音频的统计信息。当进度为100时返回。
1165
+ # @type AsrStat: :class:`Tencentcloud::Tci.v20190318.models.ASRStat`
1166
+ # @param Texts: 返回当前音频流的详细信息,如果是流模式,返回的是对应流的详细信息,如果是 URL模式,返回的是查询的那一段seq对应的音频的详细信息。
1167
+ # @type Texts: Array
1168
+ # @param VocabAnalysisDetailInfo: 返回词汇库中的单词出现的详细时间信息。
1169
+ # @type VocabAnalysisDetailInfo: Array
1170
+ # @param VocabAnalysisStatInfo: 返回词汇库中的单词出现的次数信息。
1171
+ # @type VocabAnalysisStatInfo: Array
1172
+ # @param AllTexts: 返回音频全部文本。
1173
+ # @type AllTexts: String
1174
+ # @param JobId: 音频任务唯一id。在URL方式时提交请求后会返回一个jobid,后续查询该url的结果时使用这个jobid进行查询。
1175
+ # @type JobId: Integer
1176
+ # @param Progress: 返回的当前处理进度。
1177
+ # @type Progress: Float
1178
+ # @param TotalCount: 结果总数
1179
+ # @type TotalCount: Integer
1180
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1181
+ # @type RequestId: String
1182
+
1183
+ attr_accessor :AllMuteSlice, :AsrStat, :Texts, :VocabAnalysisDetailInfo, :VocabAnalysisStatInfo, :AllTexts, :JobId, :Progress, :TotalCount, :RequestId
1184
+
1185
+ def initialize(allmuteslice=nil, asrstat=nil, texts=nil, vocabanalysisdetailinfo=nil, vocabanalysisstatinfo=nil, alltexts=nil, jobid=nil, progress=nil, totalcount=nil, requestid=nil)
1186
+ @AllMuteSlice = allmuteslice
1187
+ @AsrStat = asrstat
1188
+ @Texts = texts
1189
+ @VocabAnalysisDetailInfo = vocabanalysisdetailinfo
1190
+ @VocabAnalysisStatInfo = vocabanalysisstatinfo
1191
+ @AllTexts = alltexts
1192
+ @JobId = jobid
1193
+ @Progress = progress
1194
+ @TotalCount = totalcount
1195
+ @RequestId = requestid
1196
+ end
1197
+
1198
+ def deserialize(params)
1199
+ unless params['AllMuteSlice'].nil?
1200
+ @AllMuteSlice = AllMuteSlice.new
1201
+ @AllMuteSlice.deserialize(params['AllMuteSlice'])
1202
+ end
1203
+ unless params['AsrStat'].nil?
1204
+ @AsrStat = ASRStat.new
1205
+ @AsrStat.deserialize(params['AsrStat'])
1206
+ end
1207
+ unless params['Texts'].nil?
1208
+ @Texts = []
1209
+ params['Texts'].each do |i|
1210
+ wholetextitem_tmp = WholeTextItem.new
1211
+ wholetextitem_tmp.deserialize(i)
1212
+ @Texts << wholetextitem_tmp
1213
+ end
1214
+ end
1215
+ unless params['VocabAnalysisDetailInfo'].nil?
1216
+ @VocabAnalysisDetailInfo = []
1217
+ params['VocabAnalysisDetailInfo'].each do |i|
1218
+ vocabdetailinfomation_tmp = VocabDetailInfomation.new
1219
+ vocabdetailinfomation_tmp.deserialize(i)
1220
+ @VocabAnalysisDetailInfo << vocabdetailinfomation_tmp
1221
+ end
1222
+ end
1223
+ unless params['VocabAnalysisStatInfo'].nil?
1224
+ @VocabAnalysisStatInfo = []
1225
+ params['VocabAnalysisStatInfo'].each do |i|
1226
+ vocabstatinfomation_tmp = VocabStatInfomation.new
1227
+ vocabstatinfomation_tmp.deserialize(i)
1228
+ @VocabAnalysisStatInfo << vocabstatinfomation_tmp
1229
+ end
1230
+ end
1231
+ @AllTexts = params['AllTexts']
1232
+ @JobId = params['JobId']
1233
+ @Progress = params['Progress']
1234
+ @TotalCount = params['TotalCount']
1235
+ @RequestId = params['RequestId']
1236
+ end
1237
+ end
1238
+
1239
+ # DescribeConversationTask请求参数结构体
1240
+ class DescribeConversationTaskRequest < TencentCloud::Common::AbstractModel
1241
+ # @param JobId: 音频任务唯一id。在URL方式时提交请求后会返回一个jobid,后续查询该url的结果时使用这个jobid进行查询。
1242
+ # @type JobId: Integer
1243
+ # @param Identity: 要查询明细的流的身份,1 老师 2 学生
1244
+ # @type Identity: Integer
1245
+ # @param Limit: 限制数目
1246
+ # @type Limit: Integer
1247
+ # @param Offset: 偏移量
1248
+ # @type Offset: Integer
1249
+
1250
+ attr_accessor :JobId, :Identity, :Limit, :Offset
1251
+
1252
+ def initialize(jobid=nil, identity=nil, limit=nil, offset=nil)
1253
+ @JobId = jobid
1254
+ @Identity = identity
1255
+ @Limit = limit
1256
+ @Offset = offset
1257
+ end
1258
+
1259
+ def deserialize(params)
1260
+ @JobId = params['JobId']
1261
+ @Identity = params['Identity']
1262
+ @Limit = params['Limit']
1263
+ @Offset = params['Offset']
1264
+ end
1265
+ end
1266
+
1267
+ # DescribeConversationTask返回参数结构体
1268
+ class DescribeConversationTaskResponse < TencentCloud::Common::AbstractModel
1269
+ # @param AsrStat: 返回的当前音频的统计信息。当进度为100时返回。
1270
+ # @type AsrStat: :class:`Tencentcloud::Tci.v20190318.models.ASRStat`
1271
+ # @param Texts: 返回当前音频流的详细信息,如果是流模式,返回的是对应流的详细信息,如果是 URL模式,返回的是查询的那一段seq对应的音频的详细信息。
1272
+ # @type Texts: Array
1273
+ # @param VocabAnalysisDetailInfo: 返回词汇库中的单词出现的详细时间信息。
1274
+ # @type VocabAnalysisDetailInfo: Array
1275
+ # @param VocabAnalysisStatInfo: 返回词汇库中的单词出现的次数信息。
1276
+ # @type VocabAnalysisStatInfo: Array
1277
+ # @param AllTexts: 整个音频流的全部文本
1278
+ # @type AllTexts: String
1279
+ # @param JobId: 音频任务唯一id。在URL方式时提交请求后会返回一个jobid,后续查询该url的结果时使用这个jobid进行查询。
1280
+ # @type JobId: Integer
1281
+ # @param Progress: 返回的当前处理进度。
1282
+ # @type Progress: Float
1283
+ # @param TotalCount: 结果总数
1284
+ # @type TotalCount: Integer
1285
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1286
+ # @type RequestId: String
1287
+
1288
+ attr_accessor :AsrStat, :Texts, :VocabAnalysisDetailInfo, :VocabAnalysisStatInfo, :AllTexts, :JobId, :Progress, :TotalCount, :RequestId
1289
+
1290
+ def initialize(asrstat=nil, texts=nil, vocabanalysisdetailinfo=nil, vocabanalysisstatinfo=nil, alltexts=nil, jobid=nil, progress=nil, totalcount=nil, requestid=nil)
1291
+ @AsrStat = asrstat
1292
+ @Texts = texts
1293
+ @VocabAnalysisDetailInfo = vocabanalysisdetailinfo
1294
+ @VocabAnalysisStatInfo = vocabanalysisstatinfo
1295
+ @AllTexts = alltexts
1296
+ @JobId = jobid
1297
+ @Progress = progress
1298
+ @TotalCount = totalcount
1299
+ @RequestId = requestid
1300
+ end
1301
+
1302
+ def deserialize(params)
1303
+ unless params['AsrStat'].nil?
1304
+ @AsrStat = ASRStat.new
1305
+ @AsrStat.deserialize(params['AsrStat'])
1306
+ end
1307
+ unless params['Texts'].nil?
1308
+ @Texts = []
1309
+ params['Texts'].each do |i|
1310
+ wholetextitem_tmp = WholeTextItem.new
1311
+ wholetextitem_tmp.deserialize(i)
1312
+ @Texts << wholetextitem_tmp
1313
+ end
1314
+ end
1315
+ unless params['VocabAnalysisDetailInfo'].nil?
1316
+ @VocabAnalysisDetailInfo = []
1317
+ params['VocabAnalysisDetailInfo'].each do |i|
1318
+ vocabdetailinfomation_tmp = VocabDetailInfomation.new
1319
+ vocabdetailinfomation_tmp.deserialize(i)
1320
+ @VocabAnalysisDetailInfo << vocabdetailinfomation_tmp
1321
+ end
1322
+ end
1323
+ unless params['VocabAnalysisStatInfo'].nil?
1324
+ @VocabAnalysisStatInfo = []
1325
+ params['VocabAnalysisStatInfo'].each do |i|
1326
+ vocabstatinfomation_tmp = VocabStatInfomation.new
1327
+ vocabstatinfomation_tmp.deserialize(i)
1328
+ @VocabAnalysisStatInfo << vocabstatinfomation_tmp
1329
+ end
1330
+ end
1331
+ @AllTexts = params['AllTexts']
1332
+ @JobId = params['JobId']
1333
+ @Progress = params['Progress']
1334
+ @TotalCount = params['TotalCount']
1335
+ @RequestId = params['RequestId']
1336
+ end
1337
+ end
1338
+
1339
+ # DescribeHighlightResult请求参数结构体
1340
+ class DescribeHighlightResultRequest < TencentCloud::Common::AbstractModel
1341
+ # @param JobId: 精彩集锦任务唯一id。在URL方式时提交请求后会返回一个JobId,后续查询该url的结果时使用这个JobId进行查询。
1342
+ # @type JobId: Integer
1343
+
1344
+ attr_accessor :JobId
1345
+
1346
+ def initialize(jobid=nil)
1347
+ @JobId = jobid
1348
+ end
1349
+
1350
+ def deserialize(params)
1351
+ @JobId = params['JobId']
1352
+ end
1353
+ end
1354
+
1355
+ # DescribeHighlightResult返回参数结构体
1356
+ class DescribeHighlightResultResponse < TencentCloud::Common::AbstractModel
1357
+ # @param HighlightsInfo: 精彩集锦详细信息。
1358
+ # @type HighlightsInfo: Array
1359
+ # @param JobId: 精彩集锦任务唯一id。在URL方式时提交请求后会返回一个JobId,后续查询该url的结果时使用这个JobId进行查询。
1360
+ # @type JobId: Integer
1361
+ # @param Progress: 任务的进度百分比,100表示任务已完成。
1362
+ # @type Progress: Float
1363
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1364
+ # @type RequestId: String
1365
+
1366
+ attr_accessor :HighlightsInfo, :JobId, :Progress, :RequestId
1367
+
1368
+ def initialize(highlightsinfo=nil, jobid=nil, progress=nil, requestid=nil)
1369
+ @HighlightsInfo = highlightsinfo
1370
+ @JobId = jobid
1371
+ @Progress = progress
1372
+ @RequestId = requestid
1373
+ end
1374
+
1375
+ def deserialize(params)
1376
+ unless params['HighlightsInfo'].nil?
1377
+ @HighlightsInfo = []
1378
+ params['HighlightsInfo'].each do |i|
1379
+ highlightsinfomation_tmp = HighlightsInfomation.new
1380
+ highlightsinfomation_tmp.deserialize(i)
1381
+ @HighlightsInfo << highlightsinfomation_tmp
1382
+ end
1383
+ end
1384
+ @JobId = params['JobId']
1385
+ @Progress = params['Progress']
1386
+ @RequestId = params['RequestId']
1387
+ end
1388
+ end
1389
+
1390
+ # DescribeImageTask请求参数结构体
1391
+ class DescribeImageTaskRequest < TencentCloud::Common::AbstractModel
1392
+ # @param JobId: 任务标识符
1393
+ # @type JobId: Integer
1394
+ # @param Limit: 限制数目
1395
+ # @type Limit: Integer
1396
+ # @param Offset: 偏移量
1397
+ # @type Offset: Integer
1398
+
1399
+ attr_accessor :JobId, :Limit, :Offset
1400
+
1401
+ def initialize(jobid=nil, limit=nil, offset=nil)
1402
+ @JobId = jobid
1403
+ @Limit = limit
1404
+ @Offset = offset
1405
+ end
1406
+
1407
+ def deserialize(params)
1408
+ @JobId = params['JobId']
1409
+ @Limit = params['Limit']
1410
+ @Offset = params['Offset']
1411
+ end
1412
+ end
1413
+
1414
+ # DescribeImageTask返回参数结构体
1415
+ class DescribeImageTaskResponse < TencentCloud::Common::AbstractModel
1416
+ # @param ResultSet: 任务处理结果
1417
+ # @type ResultSet: Array
1418
+ # @param JobId: 任务唯一标识
1419
+ # @type JobId: Integer
1420
+ # @param Progress: 任务执行进度
1421
+ # @type Progress: Integer
1422
+ # @param TotalCount: 任务结果数目
1423
+ # @type TotalCount: Integer
1424
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1425
+ # @type RequestId: String
1426
+
1427
+ attr_accessor :ResultSet, :JobId, :Progress, :TotalCount, :RequestId
1428
+
1429
+ def initialize(resultset=nil, jobid=nil, progress=nil, totalcount=nil, requestid=nil)
1430
+ @ResultSet = resultset
1431
+ @JobId = jobid
1432
+ @Progress = progress
1433
+ @TotalCount = totalcount
1434
+ @RequestId = requestid
1435
+ end
1436
+
1437
+ def deserialize(params)
1438
+ unless params['ResultSet'].nil?
1439
+ @ResultSet = []
1440
+ params['ResultSet'].each do |i|
1441
+ imagetaskresult_tmp = ImageTaskResult.new
1442
+ imagetaskresult_tmp.deserialize(i)
1443
+ @ResultSet << imagetaskresult_tmp
1444
+ end
1445
+ end
1446
+ @JobId = params['JobId']
1447
+ @Progress = params['Progress']
1448
+ @TotalCount = params['TotalCount']
1449
+ @RequestId = params['RequestId']
1450
+ end
1451
+ end
1452
+
1453
+ # DescribeImageTaskStatistic请求参数结构体
1454
+ class DescribeImageTaskStatisticRequest < TencentCloud::Common::AbstractModel
1455
+ # @param JobId: 图像任务标识符
1456
+ # @type JobId: Integer
1457
+
1458
+ attr_accessor :JobId
1459
+
1460
+ def initialize(jobid=nil)
1461
+ @JobId = jobid
1462
+ end
1463
+
1464
+ def deserialize(params)
1465
+ @JobId = params['JobId']
1466
+ end
1467
+ end
1468
+
1469
+ # DescribeImageTaskStatistic返回参数结构体
1470
+ class DescribeImageTaskStatisticResponse < TencentCloud::Common::AbstractModel
1471
+ # @param Statistic: 任务统计信息
1472
+ # @type Statistic: :class:`Tencentcloud::Tci.v20190318.models.ImageTaskStatistic`
1473
+ # @param JobId: 图像任务唯一标识符
1474
+ # @type JobId: Integer
1475
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1476
+ # @type RequestId: String
1477
+
1478
+ attr_accessor :Statistic, :JobId, :RequestId
1479
+
1480
+ def initialize(statistic=nil, jobid=nil, requestid=nil)
1481
+ @Statistic = statistic
1482
+ @JobId = jobid
1483
+ @RequestId = requestid
1484
+ end
1485
+
1486
+ def deserialize(params)
1487
+ unless params['Statistic'].nil?
1488
+ @Statistic = ImageTaskStatistic.new
1489
+ @Statistic.deserialize(params['Statistic'])
1490
+ end
1491
+ @JobId = params['JobId']
1492
+ @RequestId = params['RequestId']
1493
+ end
1494
+ end
1495
+
1496
+ # DescribeLibraries请求参数结构体
1497
+ class DescribeLibrariesRequest < TencentCloud::Common::AbstractModel
1498
+
1499
+
1500
+ def initialize()
1501
+ end
1502
+
1503
+ def deserialize(params)
1504
+ end
1505
+ end
1506
+
1507
+ # DescribeLibraries返回参数结构体
1508
+ class DescribeLibrariesResponse < TencentCloud::Common::AbstractModel
1509
+ # @param LibrarySet: 人员库列表
1510
+ # @type LibrarySet: Array
1511
+ # @param TotalCount: 人员库总数量
1512
+ # @type TotalCount: Integer
1513
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1514
+ # @type RequestId: String
1515
+
1516
+ attr_accessor :LibrarySet, :TotalCount, :RequestId
1517
+
1518
+ def initialize(libraryset=nil, totalcount=nil, requestid=nil)
1519
+ @LibrarySet = libraryset
1520
+ @TotalCount = totalcount
1521
+ @RequestId = requestid
1522
+ end
1523
+
1524
+ def deserialize(params)
1525
+ unless params['LibrarySet'].nil?
1526
+ @LibrarySet = []
1527
+ params['LibrarySet'].each do |i|
1528
+ library_tmp = Library.new
1529
+ library_tmp.deserialize(i)
1530
+ @LibrarySet << library_tmp
1531
+ end
1532
+ end
1533
+ @TotalCount = params['TotalCount']
1534
+ @RequestId = params['RequestId']
1535
+ end
1536
+ end
1537
+
1538
+ # DescribePerson请求参数结构体
1539
+ class DescribePersonRequest < TencentCloud::Common::AbstractModel
1540
+ # @param LibraryId: 人员库唯一标识符
1541
+ # @type LibraryId: String
1542
+ # @param PersonId: 人员唯一标识符
1543
+ # @type PersonId: String
1544
+
1545
+ attr_accessor :LibraryId, :PersonId
1546
+
1547
+ def initialize(libraryid=nil, personid=nil)
1548
+ @LibraryId = libraryid
1549
+ @PersonId = personid
1550
+ end
1551
+
1552
+ def deserialize(params)
1553
+ @LibraryId = params['LibraryId']
1554
+ @PersonId = params['PersonId']
1555
+ end
1556
+ end
1557
+
1558
+ # DescribePerson返回参数结构体
1559
+ class DescribePersonResponse < TencentCloud::Common::AbstractModel
1560
+ # @param FaceSet: 人员人脸列表
1561
+ # @type FaceSet: Array
1562
+ # @param CreateTime: 创建时间
1563
+ # @type CreateTime: String
1564
+ # @param JobNumber: 工作号码
1565
+ # @type JobNumber: String
1566
+ # @param LibraryId: 人员库唯一标识符
1567
+ # @type LibraryId: String
1568
+ # @param Mail: 邮箱
1569
+ # @type Mail: String
1570
+ # @param Male: 性别
1571
+ # @type Male: Integer
1572
+ # @param PersonId: 人员唯一标识符
1573
+ # @type PersonId: String
1574
+ # @param PersonName: 人员名称
1575
+ # @type PersonName: String
1576
+ # @param PhoneNumber: 电话号码
1577
+ # @type PhoneNumber: String
1578
+ # @param StudentNumber: 学生号码
1579
+ # @type StudentNumber: String
1580
+ # @param UpdateTime: 修改时间
1581
+ # @type UpdateTime: String
1582
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1583
+ # @type RequestId: String
1584
+
1585
+ attr_accessor :FaceSet, :CreateTime, :JobNumber, :LibraryId, :Mail, :Male, :PersonId, :PersonName, :PhoneNumber, :StudentNumber, :UpdateTime, :RequestId
1586
+
1587
+ def initialize(faceset=nil, createtime=nil, jobnumber=nil, libraryid=nil, mail=nil, male=nil, personid=nil, personname=nil, phonenumber=nil, studentnumber=nil, updatetime=nil, requestid=nil)
1588
+ @FaceSet = faceset
1589
+ @CreateTime = createtime
1590
+ @JobNumber = jobnumber
1591
+ @LibraryId = libraryid
1592
+ @Mail = mail
1593
+ @Male = male
1594
+ @PersonId = personid
1595
+ @PersonName = personname
1596
+ @PhoneNumber = phonenumber
1597
+ @StudentNumber = studentnumber
1598
+ @UpdateTime = updatetime
1599
+ @RequestId = requestid
1600
+ end
1601
+
1602
+ def deserialize(params)
1603
+ unless params['FaceSet'].nil?
1604
+ @FaceSet = []
1605
+ params['FaceSet'].each do |i|
1606
+ face_tmp = Face.new
1607
+ face_tmp.deserialize(i)
1608
+ @FaceSet << face_tmp
1609
+ end
1610
+ end
1611
+ @CreateTime = params['CreateTime']
1612
+ @JobNumber = params['JobNumber']
1613
+ @LibraryId = params['LibraryId']
1614
+ @Mail = params['Mail']
1615
+ @Male = params['Male']
1616
+ @PersonId = params['PersonId']
1617
+ @PersonName = params['PersonName']
1618
+ @PhoneNumber = params['PhoneNumber']
1619
+ @StudentNumber = params['StudentNumber']
1620
+ @UpdateTime = params['UpdateTime']
1621
+ @RequestId = params['RequestId']
1622
+ end
1623
+ end
1624
+
1625
+ # DescribePersons请求参数结构体
1626
+ class DescribePersonsRequest < TencentCloud::Common::AbstractModel
1627
+ # @param LibraryId: 人员库唯一标识符
1628
+ # @type LibraryId: String
1629
+ # @param Limit: 限制数目
1630
+ # @type Limit: Integer
1631
+ # @param Offset: 偏移量
1632
+ # @type Offset: Integer
1633
+
1634
+ attr_accessor :LibraryId, :Limit, :Offset
1635
+
1636
+ def initialize(libraryid=nil, limit=nil, offset=nil)
1637
+ @LibraryId = libraryid
1638
+ @Limit = limit
1639
+ @Offset = offset
1640
+ end
1641
+
1642
+ def deserialize(params)
1643
+ @LibraryId = params['LibraryId']
1644
+ @Limit = params['Limit']
1645
+ @Offset = params['Offset']
1646
+ end
1647
+ end
1648
+
1649
+ # DescribePersons返回参数结构体
1650
+ class DescribePersonsResponse < TencentCloud::Common::AbstractModel
1651
+ # @param PersonSet: 人员列表
1652
+ # @type PersonSet: Array
1653
+ # @param TotalCount: 人员总数
1654
+ # @type TotalCount: Integer
1655
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1656
+ # @type RequestId: String
1657
+
1658
+ attr_accessor :PersonSet, :TotalCount, :RequestId
1659
+
1660
+ def initialize(personset=nil, totalcount=nil, requestid=nil)
1661
+ @PersonSet = personset
1662
+ @TotalCount = totalcount
1663
+ @RequestId = requestid
1664
+ end
1665
+
1666
+ def deserialize(params)
1667
+ unless params['PersonSet'].nil?
1668
+ @PersonSet = []
1669
+ params['PersonSet'].each do |i|
1670
+ person_tmp = Person.new
1671
+ person_tmp.deserialize(i)
1672
+ @PersonSet << person_tmp
1673
+ end
1674
+ end
1675
+ @TotalCount = params['TotalCount']
1676
+ @RequestId = params['RequestId']
1677
+ end
1678
+ end
1679
+
1680
+ # DescribeVocabLib请求参数结构体
1681
+ class DescribeVocabLibRequest < TencentCloud::Common::AbstractModel
1682
+
1683
+
1684
+ def initialize()
1685
+ end
1686
+
1687
+ def deserialize(params)
1688
+ end
1689
+ end
1690
+
1691
+ # DescribeVocabLib返回参数结构体
1692
+ class DescribeVocabLibResponse < TencentCloud::Common::AbstractModel
1693
+ # @param VocabLibNameSet: 返回该appid下的所有词汇库名
1694
+ # @type VocabLibNameSet: Array
1695
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1696
+ # @type RequestId: String
1697
+
1698
+ attr_accessor :VocabLibNameSet, :RequestId
1699
+
1700
+ def initialize(vocablibnameset=nil, requestid=nil)
1701
+ @VocabLibNameSet = vocablibnameset
1702
+ @RequestId = requestid
1703
+ end
1704
+
1705
+ def deserialize(params)
1706
+ @VocabLibNameSet = params['VocabLibNameSet']
1707
+ @RequestId = params['RequestId']
1708
+ end
1709
+ end
1710
+
1711
+ # DescribeVocab请求参数结构体
1712
+ class DescribeVocabRequest < TencentCloud::Common::AbstractModel
1713
+ # @param VocabLibName: 要查询词汇的词汇库名
1714
+ # @type VocabLibName: String
1715
+
1716
+ attr_accessor :VocabLibName
1717
+
1718
+ def initialize(vocablibname=nil)
1719
+ @VocabLibName = vocablibname
1720
+ end
1721
+
1722
+ def deserialize(params)
1723
+ @VocabLibName = params['VocabLibName']
1724
+ end
1725
+ end
1726
+
1727
+ # DescribeVocab返回参数结构体
1728
+ class DescribeVocabResponse < TencentCloud::Common::AbstractModel
1729
+ # @param VocabNameSet: 词汇列表
1730
+ # @type VocabNameSet: Array
1731
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1732
+ # @type RequestId: String
1733
+
1734
+ attr_accessor :VocabNameSet, :RequestId
1735
+
1736
+ def initialize(vocabnameset=nil, requestid=nil)
1737
+ @VocabNameSet = vocabnameset
1738
+ @RequestId = requestid
1739
+ end
1740
+
1741
+ def deserialize(params)
1742
+ @VocabNameSet = params['VocabNameSet']
1743
+ @RequestId = params['RequestId']
1744
+ end
1745
+ end
1746
+
1747
+ # 单词出现的那个句子的起始时间和结束时间信息
1748
+ class DetailInfo < TencentCloud::Common::AbstractModel
1749
+ # @param Value: 单词出现在该音频中的那个句子的时间戳,出现了几次, 就返回对应次数的起始和结束时间戳
1750
+ # @type Value: Array
1751
+ # @param Keyword: 词汇库中的单词
1752
+ # @type Keyword: String
1753
+
1754
+ attr_accessor :Value, :Keyword
1755
+
1756
+ def initialize(value=nil, keyword=nil)
1757
+ @Value = value
1758
+ @Keyword = keyword
1759
+ end
1760
+
1761
+ def deserialize(params)
1762
+ unless params['Value'].nil?
1763
+ @Value = []
1764
+ params['Value'].each do |i|
1765
+ wordtimepair_tmp = WordTimePair.new
1766
+ wordtimepair_tmp.deserialize(i)
1767
+ @Value << wordtimepair_tmp
1768
+ end
1769
+ end
1770
+ @Keyword = params['Keyword']
1771
+ end
1772
+ end
1773
+
1774
+ # 双路混流视频集锦开关项
1775
+ class DoubleVideoFunction < TencentCloud::Common::AbstractModel
1776
+ # @param EnableCoverPictures: 片头片尾增加图片开关
1777
+ # @type EnableCoverPictures: Boolean
1778
+
1779
+ attr_accessor :EnableCoverPictures
1780
+
1781
+ def initialize(enablecoverpictures=nil)
1782
+ @EnableCoverPictures = enablecoverpictures
1783
+ end
1784
+
1785
+ def deserialize(params)
1786
+ @EnableCoverPictures = params['EnableCoverPictures']
1787
+ end
1788
+ end
1789
+
1790
+ # 表情比例统计
1791
+ class ExpressRatioStatistic < TencentCloud::Common::AbstractModel
1792
+ # @param Count: 出现次数
1793
+ # @type Count: Integer
1794
+ # @param Express: 表情
1795
+ # @type Express: String
1796
+ # @param Ratio: 该表情时长占所有表情时长的比例
1797
+ # @type Ratio: Float
1798
+ # @param RatioUseDuration: 该表情时长占视频总时长的比例
1799
+ # @type RatioUseDuration: Float
1800
+
1801
+ attr_accessor :Count, :Express, :Ratio, :RatioUseDuration
1802
+
1803
+ def initialize(count=nil, express=nil, ratio=nil, ratiouseduration=nil)
1804
+ @Count = count
1805
+ @Express = express
1806
+ @Ratio = ratio
1807
+ @RatioUseDuration = ratiouseduration
1808
+ end
1809
+
1810
+ def deserialize(params)
1811
+ @Count = params['Count']
1812
+ @Express = params['Express']
1813
+ @Ratio = params['Ratio']
1814
+ @RatioUseDuration = params['RatioUseDuration']
1815
+ end
1816
+ end
1817
+
1818
+ # 人脸描述
1819
+ class Face < TencentCloud::Common::AbstractModel
1820
+ # @param FaceId: 人脸唯一标识符
1821
+ # @type FaceId: String
1822
+ # @param FaceUrl: 人脸图片 URL
1823
+ # @type FaceUrl: String
1824
+ # @param PersonId: 人员唯一标识符
1825
+ # @type PersonId: String
1826
+
1827
+ attr_accessor :FaceId, :FaceUrl, :PersonId
1828
+
1829
+ def initialize(faceid=nil, faceurl=nil, personid=nil)
1830
+ @FaceId = faceid
1831
+ @FaceUrl = faceurl
1832
+ @PersonId = personid
1833
+ end
1834
+
1835
+ def deserialize(params)
1836
+ @FaceId = params['FaceId']
1837
+ @FaceUrl = params['FaceUrl']
1838
+ @PersonId = params['PersonId']
1839
+ end
1840
+ end
1841
+
1842
+ # FaceAttrResult
1843
+ class FaceAttrResult < TencentCloud::Common::AbstractModel
1844
+ # @param Age: 年龄
1845
+ # @type Age: Integer
1846
+ # @param Sex: 性别
1847
+ # @type Sex: String
1848
+
1849
+ attr_accessor :Age, :Sex
1850
+
1851
+ def initialize(age=nil, sex=nil)
1852
+ @Age = age
1853
+ @Sex = sex
1854
+ end
1855
+
1856
+ def deserialize(params)
1857
+ @Age = params['Age']
1858
+ @Sex = params['Sex']
1859
+ end
1860
+ end
1861
+
1862
+ # 人脸监测统计信息
1863
+ class FaceDetectStatistic < TencentCloud::Common::AbstractModel
1864
+ # @param FaceSizeRatio: 人脸大小占画面平均占比
1865
+ # @type FaceSizeRatio: Float
1866
+ # @param FrontalFaceCount: 检测到正脸次数
1867
+ # @type FrontalFaceCount: Integer
1868
+ # @param FrontalFaceRatio: 正脸时长占比
1869
+ # @type FrontalFaceRatio: Float
1870
+ # @param FrontalFaceRealRatio: 正脸时长在总出现时常占比
1871
+ # @type FrontalFaceRealRatio: Float
1872
+ # @param PersonId: 人员唯一标识符
1873
+ # @type PersonId: String
1874
+ # @param SideFaceCount: 检测到侧脸次数
1875
+ # @type SideFaceCount: Integer
1876
+ # @param SideFaceRatio: 侧脸时长占比
1877
+ # @type SideFaceRatio: Float
1878
+ # @param SideFaceRealRatio: 侧脸时长在总出现时常占比
1879
+ # @type SideFaceRealRatio: Float
1880
+
1881
+ attr_accessor :FaceSizeRatio, :FrontalFaceCount, :FrontalFaceRatio, :FrontalFaceRealRatio, :PersonId, :SideFaceCount, :SideFaceRatio, :SideFaceRealRatio
1882
+
1883
+ def initialize(facesizeratio=nil, frontalfacecount=nil, frontalfaceratio=nil, frontalfacerealratio=nil, personid=nil, sidefacecount=nil, sidefaceratio=nil, sidefacerealratio=nil)
1884
+ @FaceSizeRatio = facesizeratio
1885
+ @FrontalFaceCount = frontalfacecount
1886
+ @FrontalFaceRatio = frontalfaceratio
1887
+ @FrontalFaceRealRatio = frontalfacerealratio
1888
+ @PersonId = personid
1889
+ @SideFaceCount = sidefacecount
1890
+ @SideFaceRatio = sidefaceratio
1891
+ @SideFaceRealRatio = sidefacerealratio
1892
+ end
1893
+
1894
+ def deserialize(params)
1895
+ @FaceSizeRatio = params['FaceSizeRatio']
1896
+ @FrontalFaceCount = params['FrontalFaceCount']
1897
+ @FrontalFaceRatio = params['FrontalFaceRatio']
1898
+ @FrontalFaceRealRatio = params['FrontalFaceRealRatio']
1899
+ @PersonId = params['PersonId']
1900
+ @SideFaceCount = params['SideFaceCount']
1901
+ @SideFaceRatio = params['SideFaceRatio']
1902
+ @SideFaceRealRatio = params['SideFaceRealRatio']
1903
+ end
1904
+ end
1905
+
1906
+ # 人脸表情统计结果
1907
+ class FaceExpressStatistic < TencentCloud::Common::AbstractModel
1908
+ # @param PersonId: 人员唯一标识符
1909
+ # @type PersonId: String
1910
+ # @param ExpressRatio: 表情统计结果
1911
+ # @type ExpressRatio: Array
1912
+
1913
+ attr_accessor :PersonId, :ExpressRatio
1914
+
1915
+ def initialize(personid=nil, expressratio=nil)
1916
+ @PersonId = personid
1917
+ @ExpressRatio = expressratio
1918
+ end
1919
+
1920
+ def deserialize(params)
1921
+ @PersonId = params['PersonId']
1922
+ unless params['ExpressRatio'].nil?
1923
+ @ExpressRatio = []
1924
+ params['ExpressRatio'].each do |i|
1925
+ expressratiostatistic_tmp = ExpressRatioStatistic.new
1926
+ expressratiostatistic_tmp.deserialize(i)
1927
+ @ExpressRatio << expressratiostatistic_tmp
1928
+ end
1929
+ end
1930
+ end
1931
+ end
1932
+
1933
+ # FaceExpressionResult
1934
+ class FaceExpressionResult < TencentCloud::Common::AbstractModel
1935
+ # @param Confidence: 表情置信度
1936
+ # @type Confidence: Float
1937
+ # @param Expression: 表情识别结果,包括"neutral":中性,"happiness":开心,"angry":"生气","disgust":厌恶,"fear":"恐惧","sadness":"悲伤","surprise":"惊讶","contempt":"蔑视"
1938
+ # @type Expression: String
1939
+
1940
+ attr_accessor :Confidence, :Expression
1941
+
1942
+ def initialize(confidence=nil, expression=nil)
1943
+ @Confidence = confidence
1944
+ @Expression = expression
1945
+ end
1946
+
1947
+ def deserialize(params)
1948
+ @Confidence = params['Confidence']
1949
+ @Expression = params['Expression']
1950
+ end
1951
+ end
1952
+
1953
+ # FaceIdentifyResult
1954
+ class FaceIdentifyResult < TencentCloud::Common::AbstractModel
1955
+ # @param FaceId: 人脸标识符
1956
+ # @type FaceId: String
1957
+ # @param LibraryId: 人员库标识符
1958
+ # @type LibraryId: String
1959
+ # @param PersonId: 人员标识符
1960
+ # @type PersonId: String
1961
+ # @param Similarity: 相似度
1962
+ # @type Similarity: Float
1963
+
1964
+ attr_accessor :FaceId, :LibraryId, :PersonId, :Similarity
1965
+
1966
+ def initialize(faceid=nil, libraryid=nil, personid=nil, similarity=nil)
1967
+ @FaceId = faceid
1968
+ @LibraryId = libraryid
1969
+ @PersonId = personid
1970
+ @Similarity = similarity
1971
+ end
1972
+
1973
+ def deserialize(params)
1974
+ @FaceId = params['FaceId']
1975
+ @LibraryId = params['LibraryId']
1976
+ @PersonId = params['PersonId']
1977
+ @Similarity = params['Similarity']
1978
+ end
1979
+ end
1980
+
1981
+ # 人员检索统计结果
1982
+ class FaceIdentifyStatistic < TencentCloud::Common::AbstractModel
1983
+ # @param Duration: 持续时间
1984
+ # @type Duration: Integer
1985
+ # @param EndTs: 结束时间
1986
+ # @type EndTs: Integer
1987
+ # @param PersonId: 人员唯一标识符
1988
+ # @type PersonId: String
1989
+ # @param Similarity: 相似度
1990
+ # @type Similarity: Float
1991
+ # @param StartTs: 开始时间
1992
+ # @type StartTs: Integer
1993
+
1994
+ attr_accessor :Duration, :EndTs, :PersonId, :Similarity, :StartTs
1995
+
1996
+ def initialize(duration=nil, endts=nil, personid=nil, similarity=nil, startts=nil)
1997
+ @Duration = duration
1998
+ @EndTs = endts
1999
+ @PersonId = personid
2000
+ @Similarity = similarity
2001
+ @StartTs = startts
2002
+ end
2003
+
2004
+ def deserialize(params)
2005
+ @Duration = params['Duration']
2006
+ @EndTs = params['EndTs']
2007
+ @PersonId = params['PersonId']
2008
+ @Similarity = params['Similarity']
2009
+ @StartTs = params['StartTs']
2010
+ end
2011
+ end
2012
+
2013
+ # 人脸操作信息
2014
+ class FaceInfo < TencentCloud::Common::AbstractModel
2015
+ # @param ErrorCode: 人脸操作错误码
2016
+ # @type ErrorCode: String
2017
+ # @param ErrorMsg: 人脸操作结果信息
2018
+ # @type ErrorMsg: String
2019
+ # @param FaceId: 人脸唯一标识符
2020
+ # @type FaceId: String
2021
+ # @param FaceUrl: 人脸保存地址
2022
+ # @type FaceUrl: String
2023
+ # @param PersonId: 人员唯一标识
2024
+ # @type PersonId: String
2025
+
2026
+ attr_accessor :ErrorCode, :ErrorMsg, :FaceId, :FaceUrl, :PersonId
2027
+
2028
+ def initialize(errorcode=nil, errormsg=nil, faceid=nil, faceurl=nil, personid=nil)
2029
+ @ErrorCode = errorcode
2030
+ @ErrorMsg = errormsg
2031
+ @FaceId = faceid
2032
+ @FaceUrl = faceurl
2033
+ @PersonId = personid
2034
+ end
2035
+
2036
+ def deserialize(params)
2037
+ @ErrorCode = params['ErrorCode']
2038
+ @ErrorMsg = params['ErrorMsg']
2039
+ @FaceId = params['FaceId']
2040
+ @FaceUrl = params['FaceUrl']
2041
+ @PersonId = params['PersonId']
2042
+ end
2043
+ end
2044
+
2045
+ # FaceInfoResult
2046
+ class FaceInfoResult < TencentCloud::Common::AbstractModel
2047
+ # @param FaceRatio: 人脸尺寸的占比
2048
+ # @type FaceRatio: Float
2049
+ # @param FrameHeight: 帧高度
2050
+ # @type FrameHeight: Integer
2051
+ # @param FrameWidth: 帧宽度
2052
+ # @type FrameWidth: Integer
2053
+ # @param Height: 人脸高度
2054
+ # @type Height: Integer
2055
+ # @param Left: 人脸左坐标
2056
+ # @type Left: Integer
2057
+ # @param Top: 人脸顶坐标
2058
+ # @type Top: Integer
2059
+ # @param Width: 人脸宽度
2060
+ # @type Width: Integer
2061
+
2062
+ attr_accessor :FaceRatio, :FrameHeight, :FrameWidth, :Height, :Left, :Top, :Width
2063
+
2064
+ def initialize(faceratio=nil, frameheight=nil, framewidth=nil, height=nil, left=nil, top=nil, width=nil)
2065
+ @FaceRatio = faceratio
2066
+ @FrameHeight = frameheight
2067
+ @FrameWidth = framewidth
2068
+ @Height = height
2069
+ @Left = left
2070
+ @Top = top
2071
+ @Width = width
2072
+ end
2073
+
2074
+ def deserialize(params)
2075
+ @FaceRatio = params['FaceRatio']
2076
+ @FrameHeight = params['FrameHeight']
2077
+ @FrameWidth = params['FrameWidth']
2078
+ @Height = params['Height']
2079
+ @Left = params['Left']
2080
+ @Top = params['Top']
2081
+ @Width = params['Width']
2082
+ end
2083
+ end
2084
+
2085
+ # FacePoseResult
2086
+ class FacePoseResult < TencentCloud::Common::AbstractModel
2087
+ # @param Direction: 正脸或侧脸的消息
2088
+ # @type Direction: String
2089
+ # @param Pitch: 围绕Z轴旋转角度,俯仰角
2090
+ # @type Pitch: Float
2091
+ # @param Roll: 围绕X轴旋转角度,翻滚角
2092
+ # @type Roll: Float
2093
+ # @param Yaw: 围绕Y轴旋转角度,偏航角
2094
+ # @type Yaw: Float
2095
+
2096
+ attr_accessor :Direction, :Pitch, :Roll, :Yaw
2097
+
2098
+ def initialize(direction=nil, pitch=nil, roll=nil, yaw=nil)
2099
+ @Direction = direction
2100
+ @Pitch = pitch
2101
+ @Roll = roll
2102
+ @Yaw = yaw
2103
+ end
2104
+
2105
+ def deserialize(params)
2106
+ @Direction = params['Direction']
2107
+ @Pitch = params['Pitch']
2108
+ @Roll = params['Roll']
2109
+ @Yaw = params['Yaw']
2110
+ end
2111
+ end
2112
+
2113
+ # 人员信息
2114
+ class FrameInfo < TencentCloud::Common::AbstractModel
2115
+ # @param Similarity: 相似度
2116
+ # @type Similarity: Float
2117
+ # @param SnapshotUrl: 截图的存储地址
2118
+ # @type SnapshotUrl: String
2119
+ # @param Ts: 相对于视频起始时间的时间戳,单位秒
2120
+ # @type Ts: Integer
2121
+
2122
+ attr_accessor :Similarity, :SnapshotUrl, :Ts
2123
+
2124
+ def initialize(similarity=nil, snapshoturl=nil, ts=nil)
2125
+ @Similarity = similarity
2126
+ @SnapshotUrl = snapshoturl
2127
+ @Ts = ts
2128
+ end
2129
+
2130
+ def deserialize(params)
2131
+ @Similarity = params['Similarity']
2132
+ @SnapshotUrl = params['SnapshotUrl']
2133
+ @Ts = params['Ts']
2134
+ end
2135
+ end
2136
+
2137
+ # 功能开关列表,表示是否需要打开相应的功能,返回相应的信息
2138
+ class Function < TencentCloud::Common::AbstractModel
2139
+ # @param EnableAllText: 输出全部文本标识,当该值设置为true时,会输出当前音频的全部文本
2140
+ # @type EnableAllText: Boolean
2141
+ # @param EnableKeyword: 输出关键词信息标识,当该值设置为true时,会输出当前音频的关键词信息。
2142
+ # @type EnableKeyword: Boolean
2143
+ # @param EnableMuteDetect: 静音检测标识,当设置为 true 时,需要设置静音时间阈值字段mute_threshold,统计结果中会返回静音片段。
2144
+ # @type EnableMuteDetect: Boolean
2145
+ # @param EnableVadInfo: 输出音频统计信息标识,当设置为 true 时,任务查询结果会输出音频的统计信息(AsrStat)
2146
+ # @type EnableVadInfo: Boolean
2147
+ # @param EnableVolume: 输出音频音量信息标识,当设置为 true 时,会输出当前音频音量信息。
2148
+ # @type EnableVolume: Boolean
2149
+
2150
+ attr_accessor :EnableAllText, :EnableKeyword, :EnableMuteDetect, :EnableVadInfo, :EnableVolume
2151
+
2152
+ def initialize(enablealltext=nil, enablekeyword=nil, enablemutedetect=nil, enablevadinfo=nil, enablevolume=nil)
2153
+ @EnableAllText = enablealltext
2154
+ @EnableKeyword = enablekeyword
2155
+ @EnableMuteDetect = enablemutedetect
2156
+ @EnableVadInfo = enablevadinfo
2157
+ @EnableVolume = enablevolume
2158
+ end
2159
+
2160
+ def deserialize(params)
2161
+ @EnableAllText = params['EnableAllText']
2162
+ @EnableKeyword = params['EnableKeyword']
2163
+ @EnableMuteDetect = params['EnableMuteDetect']
2164
+ @EnableVadInfo = params['EnableVadInfo']
2165
+ @EnableVolume = params['EnableVolume']
2166
+ end
2167
+ end
2168
+
2169
+ # GestureResult
2170
+ class GestureResult < TencentCloud::Common::AbstractModel
2171
+ # @param Class: 识别结果,包含"USPEAK":听你说,"LISTEN":听我说,"GOOD":GOOD,"TOOLS":拿教具,"OTHERS":其他
2172
+ # @type Class: String
2173
+ # @param Confidence: 置信度
2174
+ # @type Confidence: Float
2175
+ # @param Height: 识别结果高度
2176
+ # @type Height: Integer
2177
+ # @param Left: 识别结果左坐标
2178
+ # @type Left: Integer
2179
+ # @param Top: 识别结果顶坐标
2180
+ # @type Top: Integer
2181
+ # @param Width: 识别结果宽度
2182
+ # @type Width: Integer
2183
+
2184
+ attr_accessor :Class, :Confidence, :Height, :Left, :Top, :Width
2185
+
2186
+ def initialize(_class=nil, confidence=nil, height=nil, left=nil, top=nil, width=nil)
2187
+ @Class = _class
2188
+ @Confidence = confidence
2189
+ @Height = height
2190
+ @Left = left
2191
+ @Top = top
2192
+ @Width = width
2193
+ end
2194
+
2195
+ def deserialize(params)
2196
+ @Class = params['Class']
2197
+ @Confidence = params['Confidence']
2198
+ @Height = params['Height']
2199
+ @Left = params['Left']
2200
+ @Top = params['Top']
2201
+ @Width = params['Width']
2202
+ end
2203
+ end
2204
+
2205
+ # 检索配置开关项
2206
+ class HLFunction < TencentCloud::Common::AbstractModel
2207
+ # @param EnableFaceDetect: 是否开启人脸检测
2208
+ # @type EnableFaceDetect: Boolean
2209
+ # @param EnableFaceExpression: 是否开启表情识别
2210
+ # @type EnableFaceExpression: Boolean
2211
+ # @param EnableFaceIdent: 是否开启人脸检索
2212
+ # @type EnableFaceIdent: Boolean
2213
+ # @param EnableKeywordWonderfulTime: 是否开启视频集锦-老师关键字识别
2214
+ # @type EnableKeywordWonderfulTime: Boolean
2215
+ # @param EnableSmileWonderfulTime: 是否开启视频集锦-微笑识别
2216
+ # @type EnableSmileWonderfulTime: Boolean
2217
+
2218
+ attr_accessor :EnableFaceDetect, :EnableFaceExpression, :EnableFaceIdent, :EnableKeywordWonderfulTime, :EnableSmileWonderfulTime
2219
+
2220
+ def initialize(enablefacedetect=nil, enablefaceexpression=nil, enablefaceident=nil, enablekeywordwonderfultime=nil, enablesmilewonderfultime=nil)
2221
+ @EnableFaceDetect = enablefacedetect
2222
+ @EnableFaceExpression = enablefaceexpression
2223
+ @EnableFaceIdent = enablefaceident
2224
+ @EnableKeywordWonderfulTime = enablekeywordwonderfultime
2225
+ @EnableSmileWonderfulTime = enablesmilewonderfultime
2226
+ end
2227
+
2228
+ def deserialize(params)
2229
+ @EnableFaceDetect = params['EnableFaceDetect']
2230
+ @EnableFaceExpression = params['EnableFaceExpression']
2231
+ @EnableFaceIdent = params['EnableFaceIdent']
2232
+ @EnableKeywordWonderfulTime = params['EnableKeywordWonderfulTime']
2233
+ @EnableSmileWonderfulTime = params['EnableSmileWonderfulTime']
2234
+ end
2235
+ end
2236
+
2237
+ # HandTrackingResult
2238
+ class HandTrackingResult < TencentCloud::Common::AbstractModel
2239
+ # @param Class: 识别结果
2240
+ # @type Class: String
2241
+ # @param Confidence: 置信度
2242
+ # @type Confidence: Float
2243
+ # @param Height: 识别结果高度
2244
+ # @type Height: Integer
2245
+ # @param Left: 识别结果左坐标
2246
+ # @type Left: Integer
2247
+ # @param Top: 识别结果顶坐标
2248
+ # @type Top: Integer
2249
+ # @param Width: 识别结果宽度
2250
+ # @type Width: Integer
2251
+
2252
+ attr_accessor :Class, :Confidence, :Height, :Left, :Top, :Width
2253
+
2254
+ def initialize(_class=nil, confidence=nil, height=nil, left=nil, top=nil, width=nil)
2255
+ @Class = _class
2256
+ @Confidence = confidence
2257
+ @Height = height
2258
+ @Left = left
2259
+ @Top = top
2260
+ @Width = width
2261
+ end
2262
+
2263
+ def deserialize(params)
2264
+ @Class = params['Class']
2265
+ @Confidence = params['Confidence']
2266
+ @Height = params['Height']
2267
+ @Left = params['Left']
2268
+ @Top = params['Top']
2269
+ @Width = params['Width']
2270
+ end
2271
+ end
2272
+
2273
+ # 精彩集锦信息
2274
+ class HighlightsInfomation < TencentCloud::Common::AbstractModel
2275
+ # @param Concentration: 专注的起始与终止时间信息。
2276
+ # @type Concentration: Array
2277
+ # @param Smile: 微笑的起始与终止时间信息。
2278
+ # @type Smile: Array
2279
+ # @param HighlightsUrl: 高光集锦视频地址,保存剪辑好的视频地址。
2280
+ # @type HighlightsUrl: String
2281
+ # @param PersonId: 片段中识别出来的人脸ID。
2282
+ # @type PersonId: String
2283
+
2284
+ attr_accessor :Concentration, :Smile, :HighlightsUrl, :PersonId
2285
+
2286
+ def initialize(concentration=nil, smile=nil, highlightsurl=nil, personid=nil)
2287
+ @Concentration = concentration
2288
+ @Smile = smile
2289
+ @HighlightsUrl = highlightsurl
2290
+ @PersonId = personid
2291
+ end
2292
+
2293
+ def deserialize(params)
2294
+ unless params['Concentration'].nil?
2295
+ @Concentration = []
2296
+ params['Concentration'].each do |i|
2297
+ timetype_tmp = TimeType.new
2298
+ timetype_tmp.deserialize(i)
2299
+ @Concentration << timetype_tmp
2300
+ end
2301
+ end
2302
+ unless params['Smile'].nil?
2303
+ @Smile = []
2304
+ params['Smile'].each do |i|
2305
+ timetype_tmp = TimeType.new
2306
+ timetype_tmp.deserialize(i)
2307
+ @Smile << timetype_tmp
2308
+ end
2309
+ end
2310
+ @HighlightsUrl = params['HighlightsUrl']
2311
+ @PersonId = params['PersonId']
2312
+ end
2313
+ end
2314
+
2315
+ # 图像任务控制选项
2316
+ class ImageTaskFunction < TencentCloud::Common::AbstractModel
2317
+ # @param EnableActionClass: 大教室场景学生肢体动作识别选项
2318
+ # @type EnableActionClass: Boolean
2319
+ # @param EnableFaceDetect: 人脸检测选项(默认为true,目前不可编辑)
2320
+ # @type EnableFaceDetect: Boolean
2321
+ # @param EnableFaceExpression: 人脸表情识别选项
2322
+ # @type EnableFaceExpression: Boolean
2323
+ # @param EnableFaceIdentify: 人脸检索选项(默认为true,目前不可编辑)
2324
+ # @type EnableFaceIdentify: Boolean
2325
+ # @param EnableGesture: 手势选项
2326
+ # @type EnableGesture: Boolean
2327
+ # @param EnableHandTracking: 优图手势选项(该功能尚未支持)
2328
+ # @type EnableHandTracking: Boolean
2329
+ # @param EnableLightJudge: 光照选项
2330
+ # @type EnableLightJudge: Boolean
2331
+ # @param EnableStudentBodyMovements: 小班课场景学生肢体动作识别选项
2332
+ # @type EnableStudentBodyMovements: Boolean
2333
+ # @param EnableTeacherBodyMovements: 教师动作选项(该功能尚未支持)
2334
+ # @type EnableTeacherBodyMovements: Boolean
2335
+ # @param EnableTeacherOutScreen: 判断老师是否在屏幕中(该功能尚未支持)
2336
+ # @type EnableTeacherOutScreen: Boolean
2337
+
2338
+ attr_accessor :EnableActionClass, :EnableFaceDetect, :EnableFaceExpression, :EnableFaceIdentify, :EnableGesture, :EnableHandTracking, :EnableLightJudge, :EnableStudentBodyMovements, :EnableTeacherBodyMovements, :EnableTeacherOutScreen
2339
+
2340
+ def initialize(enableactionclass=nil, enablefacedetect=nil, enablefaceexpression=nil, enablefaceidentify=nil, enablegesture=nil, enablehandtracking=nil, enablelightjudge=nil, enablestudentbodymovements=nil, enableteacherbodymovements=nil, enableteacheroutscreen=nil)
2341
+ @EnableActionClass = enableactionclass
2342
+ @EnableFaceDetect = enablefacedetect
2343
+ @EnableFaceExpression = enablefaceexpression
2344
+ @EnableFaceIdentify = enablefaceidentify
2345
+ @EnableGesture = enablegesture
2346
+ @EnableHandTracking = enablehandtracking
2347
+ @EnableLightJudge = enablelightjudge
2348
+ @EnableStudentBodyMovements = enablestudentbodymovements
2349
+ @EnableTeacherBodyMovements = enableteacherbodymovements
2350
+ @EnableTeacherOutScreen = enableteacheroutscreen
2351
+ end
2352
+
2353
+ def deserialize(params)
2354
+ @EnableActionClass = params['EnableActionClass']
2355
+ @EnableFaceDetect = params['EnableFaceDetect']
2356
+ @EnableFaceExpression = params['EnableFaceExpression']
2357
+ @EnableFaceIdentify = params['EnableFaceIdentify']
2358
+ @EnableGesture = params['EnableGesture']
2359
+ @EnableHandTracking = params['EnableHandTracking']
2360
+ @EnableLightJudge = params['EnableLightJudge']
2361
+ @EnableStudentBodyMovements = params['EnableStudentBodyMovements']
2362
+ @EnableTeacherBodyMovements = params['EnableTeacherBodyMovements']
2363
+ @EnableTeacherOutScreen = params['EnableTeacherOutScreen']
2364
+ end
2365
+ end
2366
+
2367
+ # 图像任务结果
2368
+ class ImageTaskResult < TencentCloud::Common::AbstractModel
2369
+ # @param ActionInfo: 大教室场景学生肢体动作识别信息
2370
+ # @type ActionInfo: :class:`Tencentcloud::Tci.v20190318.models.ActionInfo`
2371
+ # @param FaceAttr: 属性识别结果
2372
+ # @type FaceAttr: :class:`Tencentcloud::Tci.v20190318.models.FaceAttrResult`
2373
+ # @param FaceExpression: 表情识别结果
2374
+ # @type FaceExpression: :class:`Tencentcloud::Tci.v20190318.models.FaceExpressionResult`
2375
+ # @param FaceIdentify: 人脸检索结果
2376
+ # @type FaceIdentify: :class:`Tencentcloud::Tci.v20190318.models.FaceIdentifyResult`
2377
+ # @param FaceInfo: 人脸检测结果
2378
+ # @type FaceInfo: :class:`Tencentcloud::Tci.v20190318.models.FaceInfoResult`
2379
+ # @param FacePose: 姿势识别结果
2380
+ # @type FacePose: :class:`Tencentcloud::Tci.v20190318.models.FacePoseResult`
2381
+ # @param Gesture: 动作分类结果
2382
+ # @type Gesture: :class:`Tencentcloud::Tci.v20190318.models.GestureResult`
2383
+ # @param HandTracking: 手势分类结果
2384
+ # @type HandTracking: :class:`Tencentcloud::Tci.v20190318.models.HandTrackingResult`
2385
+ # @param Light: 光照识别结果
2386
+ # @type Light: :class:`Tencentcloud::Tci.v20190318.models.LightResult`
2387
+ # @param StudentBodyMovement: 学生肢体动作识别结果
2388
+ # @type StudentBodyMovement: :class:`Tencentcloud::Tci.v20190318.models.StudentBodyMovementResult`
2389
+ # @param TeacherBodyMovement: 老师肢体动作识别结果
2390
+ # @type TeacherBodyMovement: :class:`Tencentcloud::Tci.v20190318.models.BodyMovementResult`
2391
+ # @param TeacherOutScreen: 教师是否在屏幕内判断结果
2392
+ # @type TeacherOutScreen: :class:`Tencentcloud::Tci.v20190318.models.TeacherOutScreenResult`
2393
+ # @param TimeInfo: 时间统计结果
2394
+ # @type TimeInfo: :class:`Tencentcloud::Tci.v20190318.models.TimeInfoResult`
2395
+
2396
+ attr_accessor :ActionInfo, :FaceAttr, :FaceExpression, :FaceIdentify, :FaceInfo, :FacePose, :Gesture, :HandTracking, :Light, :StudentBodyMovement, :TeacherBodyMovement, :TeacherOutScreen, :TimeInfo
2397
+
2398
+ def initialize(actioninfo=nil, faceattr=nil, faceexpression=nil, faceidentify=nil, faceinfo=nil, facepose=nil, gesture=nil, handtracking=nil, light=nil, studentbodymovement=nil, teacherbodymovement=nil, teacheroutscreen=nil, timeinfo=nil)
2399
+ @ActionInfo = actioninfo
2400
+ @FaceAttr = faceattr
2401
+ @FaceExpression = faceexpression
2402
+ @FaceIdentify = faceidentify
2403
+ @FaceInfo = faceinfo
2404
+ @FacePose = facepose
2405
+ @Gesture = gesture
2406
+ @HandTracking = handtracking
2407
+ @Light = light
2408
+ @StudentBodyMovement = studentbodymovement
2409
+ @TeacherBodyMovement = teacherbodymovement
2410
+ @TeacherOutScreen = teacheroutscreen
2411
+ @TimeInfo = timeinfo
2412
+ end
2413
+
2414
+ def deserialize(params)
2415
+ unless params['ActionInfo'].nil?
2416
+ @ActionInfo = ActionInfo.new
2417
+ @ActionInfo.deserialize(params['ActionInfo'])
2418
+ end
2419
+ unless params['FaceAttr'].nil?
2420
+ @FaceAttr = FaceAttrResult.new
2421
+ @FaceAttr.deserialize(params['FaceAttr'])
2422
+ end
2423
+ unless params['FaceExpression'].nil?
2424
+ @FaceExpression = FaceExpressionResult.new
2425
+ @FaceExpression.deserialize(params['FaceExpression'])
2426
+ end
2427
+ unless params['FaceIdentify'].nil?
2428
+ @FaceIdentify = FaceIdentifyResult.new
2429
+ @FaceIdentify.deserialize(params['FaceIdentify'])
2430
+ end
2431
+ unless params['FaceInfo'].nil?
2432
+ @FaceInfo = FaceInfoResult.new
2433
+ @FaceInfo.deserialize(params['FaceInfo'])
2434
+ end
2435
+ unless params['FacePose'].nil?
2436
+ @FacePose = FacePoseResult.new
2437
+ @FacePose.deserialize(params['FacePose'])
2438
+ end
2439
+ unless params['Gesture'].nil?
2440
+ @Gesture = GestureResult.new
2441
+ @Gesture.deserialize(params['Gesture'])
2442
+ end
2443
+ unless params['HandTracking'].nil?
2444
+ @HandTracking = HandTrackingResult.new
2445
+ @HandTracking.deserialize(params['HandTracking'])
2446
+ end
2447
+ unless params['Light'].nil?
2448
+ @Light = LightResult.new
2449
+ @Light.deserialize(params['Light'])
2450
+ end
2451
+ unless params['StudentBodyMovement'].nil?
2452
+ @StudentBodyMovement = StudentBodyMovementResult.new
2453
+ @StudentBodyMovement.deserialize(params['StudentBodyMovement'])
2454
+ end
2455
+ unless params['TeacherBodyMovement'].nil?
2456
+ @TeacherBodyMovement = BodyMovementResult.new
2457
+ @TeacherBodyMovement.deserialize(params['TeacherBodyMovement'])
2458
+ end
2459
+ unless params['TeacherOutScreen'].nil?
2460
+ @TeacherOutScreen = TeacherOutScreenResult.new
2461
+ @TeacherOutScreen.deserialize(params['TeacherOutScreen'])
2462
+ end
2463
+ unless params['TimeInfo'].nil?
2464
+ @TimeInfo = TimeInfoResult.new
2465
+ @TimeInfo.deserialize(params['TimeInfo'])
2466
+ end
2467
+ end
2468
+ end
2469
+
2470
+ # 图像任务统计结果
2471
+ class ImageTaskStatistic < TencentCloud::Common::AbstractModel
2472
+ # @param FaceDetect: 人员检测统计信息
2473
+ # @type FaceDetect: Array
2474
+ # @param FaceExpression: 人脸表情统计信息
2475
+ # @type FaceExpression: Array
2476
+ # @param FaceIdentify: 人脸检索统计信息
2477
+ # @type FaceIdentify: Array
2478
+ # @param Gesture: 姿势识别统计信息
2479
+ # @type Gesture: :class:`Tencentcloud::Tci.v20190318.models.ActionStatistic`
2480
+ # @param Handtracking: 手势识别统计信息
2481
+ # @type Handtracking: :class:`Tencentcloud::Tci.v20190318.models.ActionStatistic`
2482
+ # @param Light: 光照统计信息
2483
+ # @type Light: :class:`Tencentcloud::Tci.v20190318.models.LightStatistic`
2484
+ # @param StudentMovement: 学生动作统计信息
2485
+ # @type StudentMovement: :class:`Tencentcloud::Tci.v20190318.models.ActionStatistic`
2486
+ # @param TeacherMovement: 教师动作统计信息
2487
+ # @type TeacherMovement: :class:`Tencentcloud::Tci.v20190318.models.ActionStatistic`
2488
+
2489
+ attr_accessor :FaceDetect, :FaceExpression, :FaceIdentify, :Gesture, :Handtracking, :Light, :StudentMovement, :TeacherMovement
2490
+
2491
+ def initialize(facedetect=nil, faceexpression=nil, faceidentify=nil, gesture=nil, handtracking=nil, light=nil, studentmovement=nil, teachermovement=nil)
2492
+ @FaceDetect = facedetect
2493
+ @FaceExpression = faceexpression
2494
+ @FaceIdentify = faceidentify
2495
+ @Gesture = gesture
2496
+ @Handtracking = handtracking
2497
+ @Light = light
2498
+ @StudentMovement = studentmovement
2499
+ @TeacherMovement = teachermovement
2500
+ end
2501
+
2502
+ def deserialize(params)
2503
+ unless params['FaceDetect'].nil?
2504
+ @FaceDetect = []
2505
+ params['FaceDetect'].each do |i|
2506
+ facedetectstatistic_tmp = FaceDetectStatistic.new
2507
+ facedetectstatistic_tmp.deserialize(i)
2508
+ @FaceDetect << facedetectstatistic_tmp
2509
+ end
2510
+ end
2511
+ unless params['FaceExpression'].nil?
2512
+ @FaceExpression = []
2513
+ params['FaceExpression'].each do |i|
2514
+ faceexpressstatistic_tmp = FaceExpressStatistic.new
2515
+ faceexpressstatistic_tmp.deserialize(i)
2516
+ @FaceExpression << faceexpressstatistic_tmp
2517
+ end
2518
+ end
2519
+ unless params['FaceIdentify'].nil?
2520
+ @FaceIdentify = []
2521
+ params['FaceIdentify'].each do |i|
2522
+ faceidentifystatistic_tmp = FaceIdentifyStatistic.new
2523
+ faceidentifystatistic_tmp.deserialize(i)
2524
+ @FaceIdentify << faceidentifystatistic_tmp
2525
+ end
2526
+ end
2527
+ unless params['Gesture'].nil?
2528
+ @Gesture = ActionStatistic.new
2529
+ @Gesture.deserialize(params['Gesture'])
2530
+ end
2531
+ unless params['Handtracking'].nil?
2532
+ @Handtracking = ActionStatistic.new
2533
+ @Handtracking.deserialize(params['Handtracking'])
2534
+ end
2535
+ unless params['Light'].nil?
2536
+ @Light = LightStatistic.new
2537
+ @Light.deserialize(params['Light'])
2538
+ end
2539
+ unless params['StudentMovement'].nil?
2540
+ @StudentMovement = ActionStatistic.new
2541
+ @StudentMovement.deserialize(params['StudentMovement'])
2542
+ end
2543
+ unless params['TeacherMovement'].nil?
2544
+ @TeacherMovement = ActionStatistic.new
2545
+ @TeacherMovement.deserialize(params['TeacherMovement'])
2546
+ end
2547
+ end
2548
+ end
2549
+
2550
+ # 人员库描述
2551
+ class Library < TencentCloud::Common::AbstractModel
2552
+ # @param CreateTime: 人员库创建时间
2553
+ # @type CreateTime: String
2554
+ # @param LibraryId: 人员库唯一标识符
2555
+ # @type LibraryId: String
2556
+ # @param LibraryName: 人员库名称
2557
+ # @type LibraryName: String
2558
+ # @param PersonCount: 人员库人员数量
2559
+ # @type PersonCount: Integer
2560
+ # @param UpdateTime: 人员库修改时间
2561
+ # @type UpdateTime: String
2562
+
2563
+ attr_accessor :CreateTime, :LibraryId, :LibraryName, :PersonCount, :UpdateTime
2564
+
2565
+ def initialize(createtime=nil, libraryid=nil, libraryname=nil, personcount=nil, updatetime=nil)
2566
+ @CreateTime = createtime
2567
+ @LibraryId = libraryid
2568
+ @LibraryName = libraryname
2569
+ @PersonCount = personcount
2570
+ @UpdateTime = updatetime
2571
+ end
2572
+
2573
+ def deserialize(params)
2574
+ @CreateTime = params['CreateTime']
2575
+ @LibraryId = params['LibraryId']
2576
+ @LibraryName = params['LibraryName']
2577
+ @PersonCount = params['PersonCount']
2578
+ @UpdateTime = params['UpdateTime']
2579
+ end
2580
+ end
2581
+
2582
+ # 光照强度统计结果
2583
+ class LightDistributionStatistic < TencentCloud::Common::AbstractModel
2584
+ # @param Time: 时间点
2585
+ # @type Time: Integer
2586
+ # @param Value: 光线值
2587
+ # @type Value: Integer
2588
+
2589
+ attr_accessor :Time, :Value
2590
+
2591
+ def initialize(time=nil, value=nil)
2592
+ @Time = time
2593
+ @Value = value
2594
+ end
2595
+
2596
+ def deserialize(params)
2597
+ @Time = params['Time']
2598
+ @Value = params['Value']
2599
+ end
2600
+ end
2601
+
2602
+ # 光照强度比例统计结果
2603
+ class LightLevelRatioStatistic < TencentCloud::Common::AbstractModel
2604
+ # @param Level: 名称
2605
+ # @type Level: String
2606
+ # @param Ratio: 比例
2607
+ # @type Ratio: Float
2608
+
2609
+ attr_accessor :Level, :Ratio
2610
+
2611
+ def initialize(level=nil, ratio=nil)
2612
+ @Level = level
2613
+ @Ratio = ratio
2614
+ end
2615
+
2616
+ def deserialize(params)
2617
+ @Level = params['Level']
2618
+ @Ratio = params['Ratio']
2619
+ end
2620
+ end
2621
+
2622
+ # LightResult
2623
+ class LightResult < TencentCloud::Common::AbstractModel
2624
+ # @param LightLevel: 光照程度,参考提交任务时的LightStandard指定的Name参数
2625
+ # @type LightLevel: String
2626
+ # @param LightValue: 光照亮度
2627
+ # @type LightValue: Float
2628
+
2629
+ attr_accessor :LightLevel, :LightValue
2630
+
2631
+ def initialize(lightlevel=nil, lightvalue=nil)
2632
+ @LightLevel = lightlevel
2633
+ @LightValue = lightvalue
2634
+ end
2635
+
2636
+ def deserialize(params)
2637
+ @LightLevel = params['LightLevel']
2638
+ @LightValue = params['LightValue']
2639
+ end
2640
+ end
2641
+
2642
+ # 光照标准,结构的相关示例为:
2643
+ # {
2644
+ # "Name":"dark",
2645
+ # "Range":[0,30]
2646
+ # }
2647
+ # 当光照的区间落入在0到30的范围时,就会命中dark的光照标准
2648
+ class LightStandard < TencentCloud::Common::AbstractModel
2649
+ # @param Name: 光照名称
2650
+ # @type Name: String
2651
+ # @param Range: 范围
2652
+ # @type Range: Array
2653
+
2654
+ attr_accessor :Name, :Range
2655
+
2656
+ def initialize(name=nil, range=nil)
2657
+ @Name = name
2658
+ @Range = range
2659
+ end
2660
+
2661
+ def deserialize(params)
2662
+ @Name = params['Name']
2663
+ @Range = params['Range']
2664
+ end
2665
+ end
2666
+
2667
+ # 光照统计结果
2668
+ class LightStatistic < TencentCloud::Common::AbstractModel
2669
+ # @param LightDistribution: 各个时间点的光线值
2670
+ # @type LightDistribution: Array
2671
+ # @param LightLevelRatio: 光照程度比例统计结果
2672
+ # @type LightLevelRatio: Array
2673
+
2674
+ attr_accessor :LightDistribution, :LightLevelRatio
2675
+
2676
+ def initialize(lightdistribution=nil, lightlevelratio=nil)
2677
+ @LightDistribution = lightdistribution
2678
+ @LightLevelRatio = lightlevelratio
2679
+ end
2680
+
2681
+ def deserialize(params)
2682
+ unless params['LightDistribution'].nil?
2683
+ @LightDistribution = []
2684
+ params['LightDistribution'].each do |i|
2685
+ lightdistributionstatistic_tmp = LightDistributionStatistic.new
2686
+ lightdistributionstatistic_tmp.deserialize(i)
2687
+ @LightDistribution << lightdistributionstatistic_tmp
2688
+ end
2689
+ end
2690
+ unless params['LightLevelRatio'].nil?
2691
+ @LightLevelRatio = []
2692
+ params['LightLevelRatio'].each do |i|
2693
+ lightlevelratiostatistic_tmp = LightLevelRatioStatistic.new
2694
+ lightlevelratiostatistic_tmp.deserialize(i)
2695
+ @LightLevelRatio << lightlevelratiostatistic_tmp
2696
+ end
2697
+ end
2698
+ end
2699
+ end
2700
+
2701
+ # ModifyLibrary请求参数结构体
2702
+ class ModifyLibraryRequest < TencentCloud::Common::AbstractModel
2703
+ # @param LibraryId: 人员库唯一标识符
2704
+ # @type LibraryId: String
2705
+ # @param LibraryName: 人员库名称
2706
+ # @type LibraryName: String
2707
+
2708
+ attr_accessor :LibraryId, :LibraryName
2709
+
2710
+ def initialize(libraryid=nil, libraryname=nil)
2711
+ @LibraryId = libraryid
2712
+ @LibraryName = libraryname
2713
+ end
2714
+
2715
+ def deserialize(params)
2716
+ @LibraryId = params['LibraryId']
2717
+ @LibraryName = params['LibraryName']
2718
+ end
2719
+ end
2720
+
2721
+ # ModifyLibrary返回参数结构体
2722
+ class ModifyLibraryResponse < TencentCloud::Common::AbstractModel
2723
+ # @param LibraryId: 人员库唯一标识符
2724
+ # @type LibraryId: String
2725
+ # @param LibraryName: 人员库名称
2726
+ # @type LibraryName: String
2727
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2728
+ # @type RequestId: String
2729
+
2730
+ attr_accessor :LibraryId, :LibraryName, :RequestId
2731
+
2732
+ def initialize(libraryid=nil, libraryname=nil, requestid=nil)
2733
+ @LibraryId = libraryid
2734
+ @LibraryName = libraryname
2735
+ @RequestId = requestid
2736
+ end
2737
+
2738
+ def deserialize(params)
2739
+ @LibraryId = params['LibraryId']
2740
+ @LibraryName = params['LibraryName']
2741
+ @RequestId = params['RequestId']
2742
+ end
2743
+ end
2744
+
2745
+ # ModifyPerson请求参数结构体
2746
+ class ModifyPersonRequest < TencentCloud::Common::AbstractModel
2747
+ # @param LibraryId: 人员库唯一标识符
2748
+ # @type LibraryId: String
2749
+ # @param PersonId: 人员唯一标识符
2750
+ # @type PersonId: String
2751
+ # @param JobNumber: 人员工作号码
2752
+ # @type JobNumber: String
2753
+ # @param Mail: 人员邮箱
2754
+ # @type Mail: String
2755
+ # @param Male: 人员性别
2756
+ # @type Male: Integer
2757
+ # @param PersonName: 人员名称
2758
+ # @type PersonName: String
2759
+ # @param PhoneNumber: 人员电话号码
2760
+ # @type PhoneNumber: String
2761
+ # @param StudentNumber: 人员学生号码
2762
+ # @type StudentNumber: String
2763
+
2764
+ attr_accessor :LibraryId, :PersonId, :JobNumber, :Mail, :Male, :PersonName, :PhoneNumber, :StudentNumber
2765
+
2766
+ def initialize(libraryid=nil, personid=nil, jobnumber=nil, mail=nil, male=nil, personname=nil, phonenumber=nil, studentnumber=nil)
2767
+ @LibraryId = libraryid
2768
+ @PersonId = personid
2769
+ @JobNumber = jobnumber
2770
+ @Mail = mail
2771
+ @Male = male
2772
+ @PersonName = personname
2773
+ @PhoneNumber = phonenumber
2774
+ @StudentNumber = studentnumber
2775
+ end
2776
+
2777
+ def deserialize(params)
2778
+ @LibraryId = params['LibraryId']
2779
+ @PersonId = params['PersonId']
2780
+ @JobNumber = params['JobNumber']
2781
+ @Mail = params['Mail']
2782
+ @Male = params['Male']
2783
+ @PersonName = params['PersonName']
2784
+ @PhoneNumber = params['PhoneNumber']
2785
+ @StudentNumber = params['StudentNumber']
2786
+ end
2787
+ end
2788
+
2789
+ # ModifyPerson返回参数结构体
2790
+ class ModifyPersonResponse < TencentCloud::Common::AbstractModel
2791
+ # @param FaceInfoSet: 人脸信息
2792
+ # @type FaceInfoSet: Array
2793
+ # @param LibraryId: 人员所属人员库标识符
2794
+ # @type LibraryId: String
2795
+ # @param PersonId: 人员唯一标识符
2796
+ # @type PersonId: String
2797
+ # @param PersonName: 人员名称
2798
+ # @type PersonName: String
2799
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2800
+ # @type RequestId: String
2801
+
2802
+ attr_accessor :FaceInfoSet, :LibraryId, :PersonId, :PersonName, :RequestId
2803
+
2804
+ def initialize(faceinfoset=nil, libraryid=nil, personid=nil, personname=nil, requestid=nil)
2805
+ @FaceInfoSet = faceinfoset
2806
+ @LibraryId = libraryid
2807
+ @PersonId = personid
2808
+ @PersonName = personname
2809
+ @RequestId = requestid
2810
+ end
2811
+
2812
+ def deserialize(params)
2813
+ unless params['FaceInfoSet'].nil?
2814
+ @FaceInfoSet = []
2815
+ params['FaceInfoSet'].each do |i|
2816
+ faceinfo_tmp = FaceInfo.new
2817
+ faceinfo_tmp.deserialize(i)
2818
+ @FaceInfoSet << faceinfo_tmp
2819
+ end
2820
+ end
2821
+ @LibraryId = params['LibraryId']
2822
+ @PersonId = params['PersonId']
2823
+ @PersonName = params['PersonName']
2824
+ @RequestId = params['RequestId']
2825
+ end
2826
+ end
2827
+
2828
+ # 所有静音片段。
2829
+ class MuteSlice < TencentCloud::Common::AbstractModel
2830
+ # @param MuteBtm: 起始时间。
2831
+ # @type MuteBtm: Integer
2832
+ # @param MuteEtm: 终止时间。
2833
+ # @type MuteEtm: Integer
2834
+
2835
+ attr_accessor :MuteBtm, :MuteEtm
2836
+
2837
+ def initialize(mutebtm=nil, muteetm=nil)
2838
+ @MuteBtm = mutebtm
2839
+ @MuteEtm = muteetm
2840
+ end
2841
+
2842
+ def deserialize(params)
2843
+ @MuteBtm = params['MuteBtm']
2844
+ @MuteEtm = params['MuteEtm']
2845
+ end
2846
+ end
2847
+
2848
+ # 人员描述
2849
+ class Person < TencentCloud::Common::AbstractModel
2850
+ # @param LibraryId: 人员库唯一标识符
2851
+ # @type LibraryId: String
2852
+ # @param PersonId: 人员唯一标识符
2853
+ # @type PersonId: String
2854
+ # @param PersonName: 人员名称
2855
+ # @type PersonName: String
2856
+ # @param CreateTime: 创建时间
2857
+ # @type CreateTime: String
2858
+ # @param JobNumber: 工作号码
2859
+ # @type JobNumber: String
2860
+ # @param Mail: 邮箱
2861
+ # @type Mail: String
2862
+ # @param Male: 性别
2863
+ # @type Male: Integer
2864
+ # @param PhoneNumber: 电话号码
2865
+ # @type PhoneNumber: String
2866
+ # @param StudentNumber: 学生号码
2867
+ # @type StudentNumber: String
2868
+ # @param UpdateTime: 修改时间
2869
+ # @type UpdateTime: String
2870
+
2871
+ attr_accessor :LibraryId, :PersonId, :PersonName, :CreateTime, :JobNumber, :Mail, :Male, :PhoneNumber, :StudentNumber, :UpdateTime
2872
+
2873
+ def initialize(libraryid=nil, personid=nil, personname=nil, createtime=nil, jobnumber=nil, mail=nil, male=nil, phonenumber=nil, studentnumber=nil, updatetime=nil)
2874
+ @LibraryId = libraryid
2875
+ @PersonId = personid
2876
+ @PersonName = personname
2877
+ @CreateTime = createtime
2878
+ @JobNumber = jobnumber
2879
+ @Mail = mail
2880
+ @Male = male
2881
+ @PhoneNumber = phonenumber
2882
+ @StudentNumber = studentnumber
2883
+ @UpdateTime = updatetime
2884
+ end
2885
+
2886
+ def deserialize(params)
2887
+ @LibraryId = params['LibraryId']
2888
+ @PersonId = params['PersonId']
2889
+ @PersonName = params['PersonName']
2890
+ @CreateTime = params['CreateTime']
2891
+ @JobNumber = params['JobNumber']
2892
+ @Mail = params['Mail']
2893
+ @Male = params['Male']
2894
+ @PhoneNumber = params['PhoneNumber']
2895
+ @StudentNumber = params['StudentNumber']
2896
+ @UpdateTime = params['UpdateTime']
2897
+ end
2898
+ end
2899
+
2900
+ # 人员信息
2901
+ class PersonInfo < TencentCloud::Common::AbstractModel
2902
+ # @param PersonId: 需要匹配的人员的ID列表。
2903
+ # @type PersonId: String
2904
+ # @param CoverBeginUrl: 视频集锦开始封面照片。
2905
+ # @type CoverBeginUrl: String
2906
+ # @param CoverEndUrl: 视频集锦结束封面照片。
2907
+ # @type CoverEndUrl: String
2908
+
2909
+ attr_accessor :PersonId, :CoverBeginUrl, :CoverEndUrl
2910
+
2911
+ def initialize(personid=nil, coverbeginurl=nil, coverendurl=nil)
2912
+ @PersonId = personid
2913
+ @CoverBeginUrl = coverbeginurl
2914
+ @CoverEndUrl = coverendurl
2915
+ end
2916
+
2917
+ def deserialize(params)
2918
+ @PersonId = params['PersonId']
2919
+ @CoverBeginUrl = params['CoverBeginUrl']
2920
+ @CoverEndUrl = params['CoverEndUrl']
2921
+ end
2922
+ end
2923
+
2924
+ # 标准化接口图像分析结果
2925
+ class StandardAudioResult < TencentCloud::Common::AbstractModel
2926
+ # @param AsrStat: 返回的当前音频的统计信息。当进度为100时返回。
2927
+ # @type AsrStat: :class:`Tencentcloud::Tci.v20190318.models.ASRStat`
2928
+ # @param Texts: 返回当前音频流的详细信息,如果是流模式,返回的是对应流的详细信息,如果是 URL模式,返回的是查询的那一段seq对应的音频的详细信息。
2929
+ # @type Texts: Array
2930
+ # @param VocabAnalysisDetailInfo: 返回词汇库中的单词出现的详细时间信息。
2931
+ # @type VocabAnalysisDetailInfo: Array
2932
+ # @param VocabAnalysisStatInfo: 返回词汇库中的单词出现的次数信息。
2933
+ # @type VocabAnalysisStatInfo: Array
2934
+ # @param Message: 状态描述
2935
+ # @type Message: String
2936
+ # @param Status: 任务状态
2937
+ # @type Status: String
2938
+ # @param TotalCount: 结果数量
2939
+ # @type TotalCount: Integer
2940
+
2941
+ attr_accessor :AsrStat, :Texts, :VocabAnalysisDetailInfo, :VocabAnalysisStatInfo, :Message, :Status, :TotalCount
2942
+
2943
+ def initialize(asrstat=nil, texts=nil, vocabanalysisdetailinfo=nil, vocabanalysisstatinfo=nil, message=nil, status=nil, totalcount=nil)
2944
+ @AsrStat = asrstat
2945
+ @Texts = texts
2946
+ @VocabAnalysisDetailInfo = vocabanalysisdetailinfo
2947
+ @VocabAnalysisStatInfo = vocabanalysisstatinfo
2948
+ @Message = message
2949
+ @Status = status
2950
+ @TotalCount = totalcount
2951
+ end
2952
+
2953
+ def deserialize(params)
2954
+ unless params['AsrStat'].nil?
2955
+ @AsrStat = ASRStat.new
2956
+ @AsrStat.deserialize(params['AsrStat'])
2957
+ end
2958
+ unless params['Texts'].nil?
2959
+ @Texts = []
2960
+ params['Texts'].each do |i|
2961
+ wholetextitem_tmp = WholeTextItem.new
2962
+ wholetextitem_tmp.deserialize(i)
2963
+ @Texts << wholetextitem_tmp
2964
+ end
2965
+ end
2966
+ unless params['VocabAnalysisDetailInfo'].nil?
2967
+ @VocabAnalysisDetailInfo = []
2968
+ params['VocabAnalysisDetailInfo'].each do |i|
2969
+ vocabdetailinfomation_tmp = VocabDetailInfomation.new
2970
+ vocabdetailinfomation_tmp.deserialize(i)
2971
+ @VocabAnalysisDetailInfo << vocabdetailinfomation_tmp
2972
+ end
2973
+ end
2974
+ unless params['VocabAnalysisStatInfo'].nil?
2975
+ @VocabAnalysisStatInfo = []
2976
+ params['VocabAnalysisStatInfo'].each do |i|
2977
+ vocabstatinfomation_tmp = VocabStatInfomation.new
2978
+ vocabstatinfomation_tmp.deserialize(i)
2979
+ @VocabAnalysisStatInfo << vocabstatinfomation_tmp
2980
+ end
2981
+ end
2982
+ @Message = params['Message']
2983
+ @Status = params['Status']
2984
+ @TotalCount = params['TotalCount']
2985
+ end
2986
+ end
2987
+
2988
+ # 标准化接口图像分析结果
2989
+ class StandardImageResult < TencentCloud::Common::AbstractModel
2990
+ # @param ResultSet: 详细结果
2991
+ # @type ResultSet: Array
2992
+ # @param Statistic: 分析完成后的统计结果
2993
+ # @type Statistic: :class:`Tencentcloud::Tci.v20190318.models.ImageTaskStatistic`
2994
+ # @param Message: 状态描述
2995
+ # @type Message: String
2996
+ # @param Status: 任务状态
2997
+ # @type Status: String
2998
+ # @param TotalCount: 结果总数
2999
+ # @type TotalCount: Integer
3000
+
3001
+ attr_accessor :ResultSet, :Statistic, :Message, :Status, :TotalCount
3002
+
3003
+ def initialize(resultset=nil, statistic=nil, message=nil, status=nil, totalcount=nil)
3004
+ @ResultSet = resultset
3005
+ @Statistic = statistic
3006
+ @Message = message
3007
+ @Status = status
3008
+ @TotalCount = totalcount
3009
+ end
3010
+
3011
+ def deserialize(params)
3012
+ unless params['ResultSet'].nil?
3013
+ @ResultSet = []
3014
+ params['ResultSet'].each do |i|
3015
+ imagetaskresult_tmp = ImageTaskResult.new
3016
+ imagetaskresult_tmp.deserialize(i)
3017
+ @ResultSet << imagetaskresult_tmp
3018
+ end
3019
+ end
3020
+ unless params['Statistic'].nil?
3021
+ @Statistic = ImageTaskStatistic.new
3022
+ @Statistic.deserialize(params['Statistic'])
3023
+ end
3024
+ @Message = params['Message']
3025
+ @Status = params['Status']
3026
+ @TotalCount = params['TotalCount']
3027
+ end
3028
+ end
3029
+
3030
+ # 标准化接口图像分析结果
3031
+ class StandardVideoResult < TencentCloud::Common::AbstractModel
3032
+ # @param HighlightsInfo: 分析完成后的统计结果
3033
+ # @type HighlightsInfo: Array
3034
+ # @param Message: 状态描述
3035
+ # @type Message: String
3036
+ # @param Status: 任务状态
3037
+ # @type Status: String
3038
+
3039
+ attr_accessor :HighlightsInfo, :Message, :Status
3040
+
3041
+ def initialize(highlightsinfo=nil, message=nil, status=nil)
3042
+ @HighlightsInfo = highlightsinfo
3043
+ @Message = message
3044
+ @Status = status
3045
+ end
3046
+
3047
+ def deserialize(params)
3048
+ unless params['HighlightsInfo'].nil?
3049
+ @HighlightsInfo = []
3050
+ params['HighlightsInfo'].each do |i|
3051
+ highlightsinfomation_tmp = HighlightsInfomation.new
3052
+ highlightsinfomation_tmp.deserialize(i)
3053
+ @HighlightsInfo << highlightsinfomation_tmp
3054
+ end
3055
+ end
3056
+ @Message = params['Message']
3057
+ @Status = params['Status']
3058
+ end
3059
+ end
3060
+
3061
+ # 单词出现的次数信息
3062
+ class StatInfo < TencentCloud::Common::AbstractModel
3063
+ # @param Keyword: 词汇库中的单词
3064
+ # @type Keyword: String
3065
+ # @param Value: 单词出现在该音频中总次数
3066
+ # @type Value: Integer
3067
+
3068
+ attr_accessor :Keyword, :Value
3069
+
3070
+ def initialize(keyword=nil, value=nil)
3071
+ @Keyword = keyword
3072
+ @Value = value
3073
+ end
3074
+
3075
+ def deserialize(params)
3076
+ @Keyword = params['Keyword']
3077
+ @Value = params['Value']
3078
+ end
3079
+ end
3080
+
3081
+ # 学生肢体动作结果
3082
+ class StudentBodyMovementResult < TencentCloud::Common::AbstractModel
3083
+ # @param Confidence: 置信度(已废弃)
3084
+ # @type Confidence: Float
3085
+ # @param HandupConfidence: 举手识别结果置信度
3086
+ # @type HandupConfidence: Float
3087
+ # @param HandupStatus: 举手识别结果,包含举手(handup)和未举手(nothandup)
3088
+ # @type HandupStatus: String
3089
+ # @param Height: 识别结果高度
3090
+ # @type Height: Integer
3091
+ # @param Left: 识别结果左坐标
3092
+ # @type Left: Integer
3093
+ # @param Movements: 动作识别结果(已废弃)
3094
+ # @type Movements: String
3095
+ # @param StandConfidence: 站立识别结果置信度
3096
+ # @type StandConfidence: Float
3097
+ # @param StandStatus: 站立识别结果,包含站立(stand)和坐着(sit)
3098
+ # @type StandStatus: String
3099
+ # @param Top: 识别结果顶坐标
3100
+ # @type Top: Integer
3101
+ # @param Width: 识别结果宽度
3102
+ # @type Width: Integer
3103
+
3104
+ attr_accessor :Confidence, :HandupConfidence, :HandupStatus, :Height, :Left, :Movements, :StandConfidence, :StandStatus, :Top, :Width
3105
+
3106
+ def initialize(confidence=nil, handupconfidence=nil, handupstatus=nil, height=nil, left=nil, movements=nil, standconfidence=nil, standstatus=nil, top=nil, width=nil)
3107
+ @Confidence = confidence
3108
+ @HandupConfidence = handupconfidence
3109
+ @HandupStatus = handupstatus
3110
+ @Height = height
3111
+ @Left = left
3112
+ @Movements = movements
3113
+ @StandConfidence = standconfidence
3114
+ @StandStatus = standstatus
3115
+ @Top = top
3116
+ @Width = width
3117
+ end
3118
+
3119
+ def deserialize(params)
3120
+ @Confidence = params['Confidence']
3121
+ @HandupConfidence = params['HandupConfidence']
3122
+ @HandupStatus = params['HandupStatus']
3123
+ @Height = params['Height']
3124
+ @Left = params['Left']
3125
+ @Movements = params['Movements']
3126
+ @StandConfidence = params['StandConfidence']
3127
+ @StandStatus = params['StandStatus']
3128
+ @Top = params['Top']
3129
+ @Width = params['Width']
3130
+ end
3131
+ end
3132
+
3133
+ # SubmitAudioTask请求参数结构体
3134
+ class SubmitAudioTaskRequest < TencentCloud::Common::AbstractModel
3135
+ # @param Lang: 音频源的语言,默认0为英文,1为中文
3136
+ # @type Lang: Integer
3137
+ # @param Url: 音频URL。客户请求为URL方式时必须带此字段指名音频的url。
3138
+ # @type Url: String
3139
+ # @param VoiceEncodeType: 语音编码类型 1:pcm
3140
+ # @type VoiceEncodeType: Integer
3141
+ # @param VoiceFileType: 语音文件类型 1:raw, 2:wav, 3:mp3,10:视频(三种音频格式目前仅支持16k采样率16bit)
3142
+ # @type VoiceFileType: Integer
3143
+ # @param Functions: 功能开关列表,表示是否需要打开相应的功能,返回相应的信息
3144
+ # @type Functions: :class:`Tencentcloud::Tci.v20190318.models.Function`
3145
+ # @param FileType: 视频文件类型,默认点播,直播填 live_url
3146
+ # @type FileType: String
3147
+ # @param MuteThreshold: 静音阈值设置,如果静音检测开关开启,则静音时间超过这个阈值认为是静音片段,在结果中会返回, 没给的话默认值为3s
3148
+ # @type MuteThreshold: Integer
3149
+ # @param VocabLibNameList: 识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析
3150
+ # @type VocabLibNameList: Array
3151
+
3152
+ attr_accessor :Lang, :Url, :VoiceEncodeType, :VoiceFileType, :Functions, :FileType, :MuteThreshold, :VocabLibNameList
3153
+
3154
+ def initialize(lang=nil, url=nil, voiceencodetype=nil, voicefiletype=nil, functions=nil, filetype=nil, mutethreshold=nil, vocablibnamelist=nil)
3155
+ @Lang = lang
3156
+ @Url = url
3157
+ @VoiceEncodeType = voiceencodetype
3158
+ @VoiceFileType = voicefiletype
3159
+ @Functions = functions
3160
+ @FileType = filetype
3161
+ @MuteThreshold = mutethreshold
3162
+ @VocabLibNameList = vocablibnamelist
3163
+ end
3164
+
3165
+ def deserialize(params)
3166
+ @Lang = params['Lang']
3167
+ @Url = params['Url']
3168
+ @VoiceEncodeType = params['VoiceEncodeType']
3169
+ @VoiceFileType = params['VoiceFileType']
3170
+ unless params['Functions'].nil?
3171
+ @Functions = Function.new
3172
+ @Functions.deserialize(params['Functions'])
3173
+ end
3174
+ @FileType = params['FileType']
3175
+ @MuteThreshold = params['MuteThreshold']
3176
+ @VocabLibNameList = params['VocabLibNameList']
3177
+ end
3178
+ end
3179
+
3180
+ # SubmitAudioTask返回参数结构体
3181
+ class SubmitAudioTaskResponse < TencentCloud::Common::AbstractModel
3182
+ # @param JobId: 查询结果时指名的jobid。在URL方式时提交请求后会返回一个jobid,后续查询该url的结果时使用这个jobid进行查询。
3183
+ # @type JobId: Integer
3184
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3185
+ # @type RequestId: String
3186
+
3187
+ attr_accessor :JobId, :RequestId
3188
+
3189
+ def initialize(jobid=nil, requestid=nil)
3190
+ @JobId = jobid
3191
+ @RequestId = requestid
3192
+ end
3193
+
3194
+ def deserialize(params)
3195
+ @JobId = params['JobId']
3196
+ @RequestId = params['RequestId']
3197
+ end
3198
+ end
3199
+
3200
+ # SubmitCheckAttendanceTaskPlus请求参数结构体
3201
+ class SubmitCheckAttendanceTaskPlusRequest < TencentCloud::Common::AbstractModel
3202
+ # @param FileContent: 输入数据
3203
+ # @type FileContent: Array
3204
+ # @param FileType: 视频流类型,vod_url表示点播URL,live_url表示直播URL,默认vod_url
3205
+ # @type FileType: String
3206
+ # @param LibraryIds: 人员库 ID列表
3207
+ # @type LibraryIds: Array
3208
+ # @param AttendanceThreshold: 确定出勤阈值;默认为0.92
3209
+ # @type AttendanceThreshold: Float
3210
+ # @param EnableStranger: 是否开启陌生人模式,陌生人模式是指在任务中发现的非注册人脸库中的人脸也返回相关统计信息,默认不开启
3211
+ # @type EnableStranger: Boolean
3212
+ # @param EndTime: 考勤结束时间(到视频的第几秒结束考勤),单位秒;默认为900
3213
+ # 对于直播场景,使用绝对时间戳,单位秒,默认当前时间往后12小时
3214
+ # @type EndTime: Integer
3215
+ # @param NoticeUrl: 通知回调地址,要求方法为post,application/json格式
3216
+ # @type NoticeUrl: String
3217
+ # @param StartTime: 考勤开始时间(从视频的第几秒开始考勤),单位秒;默认为0
3218
+ # 对于直播场景,使用绝对时间戳,单位秒,默认当前时间
3219
+ # @type StartTime: Integer
3220
+ # @param Threshold: 识别阈值;默认为0.8
3221
+ # @type Threshold: Float
3222
+
3223
+ attr_accessor :FileContent, :FileType, :LibraryIds, :AttendanceThreshold, :EnableStranger, :EndTime, :NoticeUrl, :StartTime, :Threshold
3224
+
3225
+ def initialize(filecontent=nil, filetype=nil, libraryids=nil, attendancethreshold=nil, enablestranger=nil, endtime=nil, noticeurl=nil, starttime=nil, threshold=nil)
3226
+ @FileContent = filecontent
3227
+ @FileType = filetype
3228
+ @LibraryIds = libraryids
3229
+ @AttendanceThreshold = attendancethreshold
3230
+ @EnableStranger = enablestranger
3231
+ @EndTime = endtime
3232
+ @NoticeUrl = noticeurl
3233
+ @StartTime = starttime
3234
+ @Threshold = threshold
3235
+ end
3236
+
3237
+ def deserialize(params)
3238
+ @FileContent = params['FileContent']
3239
+ @FileType = params['FileType']
3240
+ @LibraryIds = params['LibraryIds']
3241
+ @AttendanceThreshold = params['AttendanceThreshold']
3242
+ @EnableStranger = params['EnableStranger']
3243
+ @EndTime = params['EndTime']
3244
+ @NoticeUrl = params['NoticeUrl']
3245
+ @StartTime = params['StartTime']
3246
+ @Threshold = params['Threshold']
3247
+ end
3248
+ end
3249
+
3250
+ # SubmitCheckAttendanceTaskPlus返回参数结构体
3251
+ class SubmitCheckAttendanceTaskPlusResponse < TencentCloud::Common::AbstractModel
3252
+ # @param JobId: 任务标识符
3253
+ # @type JobId: Integer
3254
+ # @param NotRegisteredSet: 没有注册的人的ID列表
3255
+ # @type NotRegisteredSet: String
3256
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3257
+ # @type RequestId: String
3258
+
3259
+ attr_accessor :JobId, :NotRegisteredSet, :RequestId
3260
+
3261
+ def initialize(jobid=nil, notregisteredset=nil, requestid=nil)
3262
+ @JobId = jobid
3263
+ @NotRegisteredSet = notregisteredset
3264
+ @RequestId = requestid
3265
+ end
3266
+
3267
+ def deserialize(params)
3268
+ @JobId = params['JobId']
3269
+ @NotRegisteredSet = params['NotRegisteredSet']
3270
+ @RequestId = params['RequestId']
3271
+ end
3272
+ end
3273
+
3274
+ # SubmitCheckAttendanceTask请求参数结构体
3275
+ class SubmitCheckAttendanceTaskRequest < TencentCloud::Common::AbstractModel
3276
+ # @param FileContent: 输入数据
3277
+ # @type FileContent: String
3278
+ # @param FileType: 视频流类型,vod_url表示点播URL,live_url表示直播URL,默认vod_url
3279
+ # @type FileType: String
3280
+ # @param LibraryIds: 人员库 ID列表
3281
+ # @type LibraryIds: Array
3282
+ # @param AttendanceThreshold: 确定出勤阈值;默认为0.92
3283
+ # @type AttendanceThreshold: Float
3284
+ # @param EnableStranger: 是否开启陌生人模式,陌生人模式是指在任务中发现的非注册人脸库中的人脸也返回相关统计信息,默认不开启
3285
+ # @type EnableStranger: Boolean
3286
+ # @param EndTime: 考勤结束时间(到视频的第几秒结束考勤),单位秒;默认为900
3287
+ # 对于直播场景,使用绝对时间戳,单位秒,默认当前时间往后12小时
3288
+ # @type EndTime: Integer
3289
+ # @param NoticeUrl: 通知回调地址,要求方法为post,application/json格式
3290
+ # @type NoticeUrl: String
3291
+ # @param StartTime: 考勤开始时间(从视频的第几秒开始考勤),单位秒;默认为0
3292
+ # 对于直播场景,使用绝对时间戳,单位秒,默认当前时间
3293
+ # @type StartTime: Integer
3294
+ # @param Threshold: 识别阈值;默认为0.8
3295
+ # @type Threshold: Float
3296
+
3297
+ attr_accessor :FileContent, :FileType, :LibraryIds, :AttendanceThreshold, :EnableStranger, :EndTime, :NoticeUrl, :StartTime, :Threshold
3298
+
3299
+ def initialize(filecontent=nil, filetype=nil, libraryids=nil, attendancethreshold=nil, enablestranger=nil, endtime=nil, noticeurl=nil, starttime=nil, threshold=nil)
3300
+ @FileContent = filecontent
3301
+ @FileType = filetype
3302
+ @LibraryIds = libraryids
3303
+ @AttendanceThreshold = attendancethreshold
3304
+ @EnableStranger = enablestranger
3305
+ @EndTime = endtime
3306
+ @NoticeUrl = noticeurl
3307
+ @StartTime = starttime
3308
+ @Threshold = threshold
3309
+ end
3310
+
3311
+ def deserialize(params)
3312
+ @FileContent = params['FileContent']
3313
+ @FileType = params['FileType']
3314
+ @LibraryIds = params['LibraryIds']
3315
+ @AttendanceThreshold = params['AttendanceThreshold']
3316
+ @EnableStranger = params['EnableStranger']
3317
+ @EndTime = params['EndTime']
3318
+ @NoticeUrl = params['NoticeUrl']
3319
+ @StartTime = params['StartTime']
3320
+ @Threshold = params['Threshold']
3321
+ end
3322
+ end
3323
+
3324
+ # SubmitCheckAttendanceTask返回参数结构体
3325
+ class SubmitCheckAttendanceTaskResponse < TencentCloud::Common::AbstractModel
3326
+ # @param JobId: 任务标识符
3327
+ # @type JobId: Integer
3328
+ # @param NotRegisteredSet: 没有注册的人的ID列表
3329
+ # @type NotRegisteredSet: Array
3330
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3331
+ # @type RequestId: String
3332
+
3333
+ attr_accessor :JobId, :NotRegisteredSet, :RequestId
3334
+
3335
+ def initialize(jobid=nil, notregisteredset=nil, requestid=nil)
3336
+ @JobId = jobid
3337
+ @NotRegisteredSet = notregisteredset
3338
+ @RequestId = requestid
3339
+ end
3340
+
3341
+ def deserialize(params)
3342
+ @JobId = params['JobId']
3343
+ @NotRegisteredSet = params['NotRegisteredSet']
3344
+ @RequestId = params['RequestId']
3345
+ end
3346
+ end
3347
+
3348
+ # SubmitConversationTask请求参数结构体
3349
+ class SubmitConversationTaskRequest < TencentCloud::Common::AbstractModel
3350
+ # @param Lang: 音频源的语言,默认0为英文,1为中文
3351
+ # @type Lang: Integer
3352
+ # @param StudentUrl: 学生音频流
3353
+ # @type StudentUrl: String
3354
+ # @param TeacherUrl: 教师音频流
3355
+ # @type TeacherUrl: String
3356
+ # @param VoiceEncodeType: 语音编码类型 1:pcm
3357
+ # @type VoiceEncodeType: Integer
3358
+ # @param VoiceFileType: 语音文件类型 1:raw, 2:wav, 3:mp3(三种格式目前仅支持16k采样率16bit)
3359
+ # @type VoiceFileType: Integer
3360
+ # @param Functions: 功能开关列表,表示是否需要打开相应的功能,返回相应的信息
3361
+ # @type Functions: :class:`Tencentcloud::Tci.v20190318.models.Function`
3362
+ # @param VocabLibNameList: 识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析
3363
+ # @type VocabLibNameList: Array
3364
+
3365
+ attr_accessor :Lang, :StudentUrl, :TeacherUrl, :VoiceEncodeType, :VoiceFileType, :Functions, :VocabLibNameList
3366
+
3367
+ def initialize(lang=nil, studenturl=nil, teacherurl=nil, voiceencodetype=nil, voicefiletype=nil, functions=nil, vocablibnamelist=nil)
3368
+ @Lang = lang
3369
+ @StudentUrl = studenturl
3370
+ @TeacherUrl = teacherurl
3371
+ @VoiceEncodeType = voiceencodetype
3372
+ @VoiceFileType = voicefiletype
3373
+ @Functions = functions
3374
+ @VocabLibNameList = vocablibnamelist
3375
+ end
3376
+
3377
+ def deserialize(params)
3378
+ @Lang = params['Lang']
3379
+ @StudentUrl = params['StudentUrl']
3380
+ @TeacherUrl = params['TeacherUrl']
3381
+ @VoiceEncodeType = params['VoiceEncodeType']
3382
+ @VoiceFileType = params['VoiceFileType']
3383
+ unless params['Functions'].nil?
3384
+ @Functions = Function.new
3385
+ @Functions.deserialize(params['Functions'])
3386
+ end
3387
+ @VocabLibNameList = params['VocabLibNameList']
3388
+ end
3389
+ end
3390
+
3391
+ # SubmitConversationTask返回参数结构体
3392
+ class SubmitConversationTaskResponse < TencentCloud::Common::AbstractModel
3393
+ # @param JobId: 查询结果时指名的jobid。在URL方式时提交请求后会返回一个jobid,后续查询该url的结果时使用这个jobid进行查询。
3394
+ # @type JobId: Integer
3395
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3396
+ # @type RequestId: String
3397
+
3398
+ attr_accessor :JobId, :RequestId
3399
+
3400
+ def initialize(jobid=nil, requestid=nil)
3401
+ @JobId = jobid
3402
+ @RequestId = requestid
3403
+ end
3404
+
3405
+ def deserialize(params)
3406
+ @JobId = params['JobId']
3407
+ @RequestId = params['RequestId']
3408
+ end
3409
+ end
3410
+
3411
+ # SubmitDoubleVideoHighlights请求参数结构体
3412
+ class SubmitDoubleVideoHighlightsRequest < TencentCloud::Common::AbstractModel
3413
+ # @param FileContent: 学生视频url
3414
+ # @type FileContent: String
3415
+ # @param LibIds: 需要检索的人脸合集库,不在库中的人脸将不参与精彩集锦;目前仅支持输入一个人脸库。
3416
+ # @type LibIds: Array
3417
+ # @param Functions: 详细功能开关配置项
3418
+ # @type Functions: :class:`Tencentcloud::Tci.v20190318.models.DoubleVideoFunction`
3419
+ # @param PersonInfoList: 需要匹配的人员信息列表。
3420
+ # @type PersonInfoList: Array
3421
+ # @param FrameInterval: 视频处理的抽帧间隔,单位毫秒。建议留空。
3422
+ # @type FrameInterval: Integer
3423
+ # @param PersonIds: 旧版本需要匹配的人员信息列表。
3424
+ # @type PersonIds: Array
3425
+ # @param SimThreshold: 人脸检索的相似度阈值,默认值0.89。建议留空。
3426
+ # @type SimThreshold: Float
3427
+ # @param TeacherFileContent: 老师视频url
3428
+ # @type TeacherFileContent: String
3429
+
3430
+ attr_accessor :FileContent, :LibIds, :Functions, :PersonInfoList, :FrameInterval, :PersonIds, :SimThreshold, :TeacherFileContent
3431
+
3432
+ def initialize(filecontent=nil, libids=nil, functions=nil, personinfolist=nil, frameinterval=nil, personids=nil, simthreshold=nil, teacherfilecontent=nil)
3433
+ @FileContent = filecontent
3434
+ @LibIds = libids
3435
+ @Functions = functions
3436
+ @PersonInfoList = personinfolist
3437
+ @FrameInterval = frameinterval
3438
+ @PersonIds = personids
3439
+ @SimThreshold = simthreshold
3440
+ @TeacherFileContent = teacherfilecontent
3441
+ end
3442
+
3443
+ def deserialize(params)
3444
+ @FileContent = params['FileContent']
3445
+ @LibIds = params['LibIds']
3446
+ unless params['Functions'].nil?
3447
+ @Functions = DoubleVideoFunction.new
3448
+ @Functions.deserialize(params['Functions'])
3449
+ end
3450
+ unless params['PersonInfoList'].nil?
3451
+ @PersonInfoList = []
3452
+ params['PersonInfoList'].each do |i|
3453
+ personinfo_tmp = PersonInfo.new
3454
+ personinfo_tmp.deserialize(i)
3455
+ @PersonInfoList << personinfo_tmp
3456
+ end
3457
+ end
3458
+ @FrameInterval = params['FrameInterval']
3459
+ @PersonIds = params['PersonIds']
3460
+ @SimThreshold = params['SimThreshold']
3461
+ @TeacherFileContent = params['TeacherFileContent']
3462
+ end
3463
+ end
3464
+
3465
+ # SubmitDoubleVideoHighlights返回参数结构体
3466
+ class SubmitDoubleVideoHighlightsResponse < TencentCloud::Common::AbstractModel
3467
+ # @param JobId: 视频拆条任务ID,用来唯一标识视频拆条任务。
3468
+ # @type JobId: Integer
3469
+ # @param NotRegistered: 未注册的人员ID列表。若出现此项,代表评估出现了问题,输入的PersonId中有不在库中的人员ID。
3470
+ # @type NotRegistered: Array
3471
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3472
+ # @type RequestId: String
3473
+
3474
+ attr_accessor :JobId, :NotRegistered, :RequestId
3475
+
3476
+ def initialize(jobid=nil, notregistered=nil, requestid=nil)
3477
+ @JobId = jobid
3478
+ @NotRegistered = notregistered
3479
+ @RequestId = requestid
3480
+ end
3481
+
3482
+ def deserialize(params)
3483
+ @JobId = params['JobId']
3484
+ @NotRegistered = params['NotRegistered']
3485
+ @RequestId = params['RequestId']
3486
+ end
3487
+ end
3488
+
3489
+ # SubmitFullBodyClassTask请求参数结构体
3490
+ class SubmitFullBodyClassTaskRequest < TencentCloud::Common::AbstractModel
3491
+ # @param FileContent: 输入分析对象内容,输入数据格式参考FileType参数释义
3492
+ # @type FileContent: String
3493
+ # @param FileType: 输入分析对象类型,picture_url:图片地址,vod_url:视频地址,live_url:直播地址,picture: 图片二进制数据的BASE64编码
3494
+ # @type FileType: String
3495
+ # @param Lang: 音频源的语言,默认0为英文,1为中文
3496
+ # @type Lang: Integer
3497
+ # @param LibrarySet: 查询人员库列表,可填写老师的注册照所在人员库
3498
+ # @type LibrarySet: Array
3499
+ # @param MaxVideoDuration: 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
3500
+ # @type MaxVideoDuration: Integer
3501
+ # @param VocabLibNameList: 识别词库名列表,这些词汇库用来维护关键词,评估老师授课过程中,对这些关键词的使用情况
3502
+ # @type VocabLibNameList: Array
3503
+ # @param VoiceEncodeType: 语音编码类型 1:pcm,当FileType为vod_url或live_url时为必填
3504
+ # @type VoiceEncodeType: Integer
3505
+ # @param VoiceFileType: 语音文件类型 10:视频(三种音频格式目前仅支持16k采样率16bit),当FileType为vod_url或live_url时为必填
3506
+ # @type VoiceFileType: Integer
3507
+
3508
+ attr_accessor :FileContent, :FileType, :Lang, :LibrarySet, :MaxVideoDuration, :VocabLibNameList, :VoiceEncodeType, :VoiceFileType
3509
+
3510
+ def initialize(filecontent=nil, filetype=nil, lang=nil, libraryset=nil, maxvideoduration=nil, vocablibnamelist=nil, voiceencodetype=nil, voicefiletype=nil)
3511
+ @FileContent = filecontent
3512
+ @FileType = filetype
3513
+ @Lang = lang
3514
+ @LibrarySet = libraryset
3515
+ @MaxVideoDuration = maxvideoduration
3516
+ @VocabLibNameList = vocablibnamelist
3517
+ @VoiceEncodeType = voiceencodetype
3518
+ @VoiceFileType = voicefiletype
3519
+ end
3520
+
3521
+ def deserialize(params)
3522
+ @FileContent = params['FileContent']
3523
+ @FileType = params['FileType']
3524
+ @Lang = params['Lang']
3525
+ @LibrarySet = params['LibrarySet']
3526
+ @MaxVideoDuration = params['MaxVideoDuration']
3527
+ @VocabLibNameList = params['VocabLibNameList']
3528
+ @VoiceEncodeType = params['VoiceEncodeType']
3529
+ @VoiceFileType = params['VoiceFileType']
3530
+ end
3531
+ end
3532
+
3533
+ # SubmitFullBodyClassTask返回参数结构体
3534
+ class SubmitFullBodyClassTaskResponse < TencentCloud::Common::AbstractModel
3535
+ # @param ImageResults: 图像任务直接返回结果,包括: FaceAttr、 FaceExpression、 FaceIdentify、 FaceInfo、 FacePose、 TeacherBodyMovement、TimeInfo
3536
+ # @type ImageResults: Array
3537
+ # @param TaskId: 任务ID
3538
+ # @type TaskId: Integer
3539
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3540
+ # @type RequestId: String
3541
+
3542
+ attr_accessor :ImageResults, :TaskId, :RequestId
3543
+
3544
+ def initialize(imageresults=nil, taskid=nil, requestid=nil)
3545
+ @ImageResults = imageresults
3546
+ @TaskId = taskid
3547
+ @RequestId = requestid
3548
+ end
3549
+
3550
+ def deserialize(params)
3551
+ unless params['ImageResults'].nil?
3552
+ @ImageResults = []
3553
+ params['ImageResults'].each do |i|
3554
+ imagetaskresult_tmp = ImageTaskResult.new
3555
+ imagetaskresult_tmp.deserialize(i)
3556
+ @ImageResults << imagetaskresult_tmp
3557
+ end
3558
+ end
3559
+ @TaskId = params['TaskId']
3560
+ @RequestId = params['RequestId']
3561
+ end
3562
+ end
3563
+
3564
+ # SubmitHighlights请求参数结构体
3565
+ class SubmitHighlightsRequest < TencentCloud::Common::AbstractModel
3566
+ # @param Functions: 表情配置开关项。
3567
+ # @type Functions: :class:`Tencentcloud::Tci.v20190318.models.HLFunction`
3568
+ # @param FileContent: 视频url。
3569
+ # @type FileContent: String
3570
+ # @param FileType: 视频类型及来源,目前只支持点播类型:"vod_url"。
3571
+ # @type FileType: String
3572
+ # @param LibIds: 需要检索的人脸合集库,不在库中的人脸将不参与精彩集锦。
3573
+ # @type LibIds: Array
3574
+ # @param FrameInterval: 视频处理的抽帧间隔,单位毫秒。建议留空。
3575
+ # @type FrameInterval: Integer
3576
+ # @param KeywordsLanguage: 关键词语言类型,0为英文,1为中文。
3577
+ # @type KeywordsLanguage: Integer
3578
+ # @param KeywordsStrings: 关键词数组,当且仅当Funtions中的EnableKeywordWonderfulTime为true时有意义,匹配相应的关键字。
3579
+ # @type KeywordsStrings: Array
3580
+ # @param MaxVideoDuration: 处理视频的总时长,单位毫秒。该值为0或未设置时,默认值两小时生效;当该值大于视频实际时长时,视频实际时长生效;当该值小于视频实际时长时,该值生效;当获取视频实际时长失败时,若该值设置则生效,否则默认值生效。建议留空。
3581
+ # @type MaxVideoDuration: Integer
3582
+ # @param SimThreshold: 人脸检索的相似度阈值,默认值0.89。建议留空。
3583
+ # @type SimThreshold: Float
3584
+
3585
+ attr_accessor :Functions, :FileContent, :FileType, :LibIds, :FrameInterval, :KeywordsLanguage, :KeywordsStrings, :MaxVideoDuration, :SimThreshold
3586
+
3587
+ def initialize(functions=nil, filecontent=nil, filetype=nil, libids=nil, frameinterval=nil, keywordslanguage=nil, keywordsstrings=nil, maxvideoduration=nil, simthreshold=nil)
3588
+ @Functions = functions
3589
+ @FileContent = filecontent
3590
+ @FileType = filetype
3591
+ @LibIds = libids
3592
+ @FrameInterval = frameinterval
3593
+ @KeywordsLanguage = keywordslanguage
3594
+ @KeywordsStrings = keywordsstrings
3595
+ @MaxVideoDuration = maxvideoduration
3596
+ @SimThreshold = simthreshold
3597
+ end
3598
+
3599
+ def deserialize(params)
3600
+ unless params['Functions'].nil?
3601
+ @Functions = HLFunction.new
3602
+ @Functions.deserialize(params['Functions'])
3603
+ end
3604
+ @FileContent = params['FileContent']
3605
+ @FileType = params['FileType']
3606
+ @LibIds = params['LibIds']
3607
+ @FrameInterval = params['FrameInterval']
3608
+ @KeywordsLanguage = params['KeywordsLanguage']
3609
+ @KeywordsStrings = params['KeywordsStrings']
3610
+ @MaxVideoDuration = params['MaxVideoDuration']
3611
+ @SimThreshold = params['SimThreshold']
3612
+ end
3613
+ end
3614
+
3615
+ # SubmitHighlights返回参数结构体
3616
+ class SubmitHighlightsResponse < TencentCloud::Common::AbstractModel
3617
+ # @param JobId: 视频拆条任务ID,用来唯一标识视频拆条任务。
3618
+ # @type JobId: Integer
3619
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3620
+ # @type RequestId: String
3621
+
3622
+ attr_accessor :JobId, :RequestId
3623
+
3624
+ def initialize(jobid=nil, requestid=nil)
3625
+ @JobId = jobid
3626
+ @RequestId = requestid
3627
+ end
3628
+
3629
+ def deserialize(params)
3630
+ @JobId = params['JobId']
3631
+ @RequestId = params['RequestId']
3632
+ end
3633
+ end
3634
+
3635
+ # SubmitImageTaskPlus请求参数结构体
3636
+ class SubmitImageTaskPlusRequest < TencentCloud::Common::AbstractModel
3637
+ # @param FileContent: 输入分析对象内容,输入数据格式参考FileType参数释义
3638
+ # @type FileContent: Array
3639
+ # @param FileType: 输入分析对象类型,picture:二进制图片的 base64 编码字符串,picture_url:图片地址,vod_url:视频地址,live_url:直播地址
3640
+ # @type FileType: String
3641
+ # @param Functions: 任务控制选项
3642
+ # @type Functions: :class:`Tencentcloud::Tci.v20190318.models.ImageTaskFunction`
3643
+ # @param LightStandardSet: 光照标准列表
3644
+ # @type LightStandardSet: Array
3645
+ # @param FrameInterval: 抽帧的时间间隔,单位毫秒,默认值1000,保留字段,当前不支持填写。
3646
+ # @type FrameInterval: Integer
3647
+ # @param LibrarySet: 查询人员库列表
3648
+ # @type LibrarySet: Array
3649
+ # @param MaxVideoDuration: 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
3650
+ # @type MaxVideoDuration: Integer
3651
+ # @param SimThreshold: 人脸识别中的相似度阈值,默认值为0.89,保留字段,当前不支持填写。
3652
+ # @type SimThreshold: Float
3653
+
3654
+ attr_accessor :FileContent, :FileType, :Functions, :LightStandardSet, :FrameInterval, :LibrarySet, :MaxVideoDuration, :SimThreshold
3655
+
3656
+ def initialize(filecontent=nil, filetype=nil, functions=nil, lightstandardset=nil, frameinterval=nil, libraryset=nil, maxvideoduration=nil, simthreshold=nil)
3657
+ @FileContent = filecontent
3658
+ @FileType = filetype
3659
+ @Functions = functions
3660
+ @LightStandardSet = lightstandardset
3661
+ @FrameInterval = frameinterval
3662
+ @LibrarySet = libraryset
3663
+ @MaxVideoDuration = maxvideoduration
3664
+ @SimThreshold = simthreshold
3665
+ end
3666
+
3667
+ def deserialize(params)
3668
+ @FileContent = params['FileContent']
3669
+ @FileType = params['FileType']
3670
+ unless params['Functions'].nil?
3671
+ @Functions = ImageTaskFunction.new
3672
+ @Functions.deserialize(params['Functions'])
3673
+ end
3674
+ unless params['LightStandardSet'].nil?
3675
+ @LightStandardSet = []
3676
+ params['LightStandardSet'].each do |i|
3677
+ lightstandard_tmp = LightStandard.new
3678
+ lightstandard_tmp.deserialize(i)
3679
+ @LightStandardSet << lightstandard_tmp
3680
+ end
3681
+ end
3682
+ @FrameInterval = params['FrameInterval']
3683
+ @LibrarySet = params['LibrarySet']
3684
+ @MaxVideoDuration = params['MaxVideoDuration']
3685
+ @SimThreshold = params['SimThreshold']
3686
+ end
3687
+ end
3688
+
3689
+ # SubmitImageTaskPlus返回参数结构体
3690
+ class SubmitImageTaskPlusResponse < TencentCloud::Common::AbstractModel
3691
+ # @param ResultSet: 识别结果
3692
+ # @type ResultSet: Array
3693
+ # @param JobId: 任务标识符
3694
+ # @type JobId: Integer
3695
+ # @param Progress: 任务进度
3696
+ # @type Progress: Integer
3697
+ # @param TotalCount: 结果总数目
3698
+ # @type TotalCount: Integer
3699
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3700
+ # @type RequestId: String
3701
+
3702
+ attr_accessor :ResultSet, :JobId, :Progress, :TotalCount, :RequestId
3703
+
3704
+ def initialize(resultset=nil, jobid=nil, progress=nil, totalcount=nil, requestid=nil)
3705
+ @ResultSet = resultset
3706
+ @JobId = jobid
3707
+ @Progress = progress
3708
+ @TotalCount = totalcount
3709
+ @RequestId = requestid
3710
+ end
3711
+
3712
+ def deserialize(params)
3713
+ unless params['ResultSet'].nil?
3714
+ @ResultSet = []
3715
+ params['ResultSet'].each do |i|
3716
+ imagetaskresult_tmp = ImageTaskResult.new
3717
+ imagetaskresult_tmp.deserialize(i)
3718
+ @ResultSet << imagetaskresult_tmp
3719
+ end
3720
+ end
3721
+ @JobId = params['JobId']
3722
+ @Progress = params['Progress']
3723
+ @TotalCount = params['TotalCount']
3724
+ @RequestId = params['RequestId']
3725
+ end
3726
+ end
3727
+
3728
+ # SubmitImageTask请求参数结构体
3729
+ class SubmitImageTaskRequest < TencentCloud::Common::AbstractModel
3730
+ # @param FileContent: 输入分析对象内容,输入数据格式参考FileType参数释义
3731
+ # @type FileContent: String
3732
+ # @param FileType: 输入分析对象类型,picture:二进制图片的 base64 编码字符串,picture_url:图片地址,vod_url:视频地址,live_url:直播地址
3733
+ # @type FileType: String
3734
+ # @param Functions: 任务控制选项
3735
+ # @type Functions: :class:`Tencentcloud::Tci.v20190318.models.ImageTaskFunction`
3736
+ # @param LightStandardSet: 光照标准列表
3737
+ # @type LightStandardSet: Array
3738
+ # @param EventsCallBack: 结果更新回调地址。
3739
+ # @type EventsCallBack: String
3740
+ # @param FrameInterval: 抽帧的时间间隔,单位毫秒,默认值1000,保留字段,当前不支持填写。
3741
+ # @type FrameInterval: Integer
3742
+ # @param LibrarySet: 查询人员库列表
3743
+ # @type LibrarySet: Array
3744
+ # @param MaxVideoDuration: 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
3745
+ # @type MaxVideoDuration: Integer
3746
+ # @param SimThreshold: 人脸识别中的相似度阈值,默认值为0.89,保留字段,当前不支持填写。
3747
+ # @type SimThreshold: Float
3748
+
3749
+ attr_accessor :FileContent, :FileType, :Functions, :LightStandardSet, :EventsCallBack, :FrameInterval, :LibrarySet, :MaxVideoDuration, :SimThreshold
3750
+
3751
+ def initialize(filecontent=nil, filetype=nil, functions=nil, lightstandardset=nil, eventscallback=nil, frameinterval=nil, libraryset=nil, maxvideoduration=nil, simthreshold=nil)
3752
+ @FileContent = filecontent
3753
+ @FileType = filetype
3754
+ @Functions = functions
3755
+ @LightStandardSet = lightstandardset
3756
+ @EventsCallBack = eventscallback
3757
+ @FrameInterval = frameinterval
3758
+ @LibrarySet = libraryset
3759
+ @MaxVideoDuration = maxvideoduration
3760
+ @SimThreshold = simthreshold
3761
+ end
3762
+
3763
+ def deserialize(params)
3764
+ @FileContent = params['FileContent']
3765
+ @FileType = params['FileType']
3766
+ unless params['Functions'].nil?
3767
+ @Functions = ImageTaskFunction.new
3768
+ @Functions.deserialize(params['Functions'])
3769
+ end
3770
+ unless params['LightStandardSet'].nil?
3771
+ @LightStandardSet = []
3772
+ params['LightStandardSet'].each do |i|
3773
+ lightstandard_tmp = LightStandard.new
3774
+ lightstandard_tmp.deserialize(i)
3775
+ @LightStandardSet << lightstandard_tmp
3776
+ end
3777
+ end
3778
+ @EventsCallBack = params['EventsCallBack']
3779
+ @FrameInterval = params['FrameInterval']
3780
+ @LibrarySet = params['LibrarySet']
3781
+ @MaxVideoDuration = params['MaxVideoDuration']
3782
+ @SimThreshold = params['SimThreshold']
3783
+ end
3784
+ end
3785
+
3786
+ # SubmitImageTask返回参数结构体
3787
+ class SubmitImageTaskResponse < TencentCloud::Common::AbstractModel
3788
+ # @param ResultSet: 识别结果
3789
+ # @type ResultSet: Array
3790
+ # @param JobId: 任务标识符
3791
+ # @type JobId: Integer
3792
+ # @param Progress: 任务进度
3793
+ # @type Progress: Integer
3794
+ # @param TotalCount: 结果总数目
3795
+ # @type TotalCount: Integer
3796
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3797
+ # @type RequestId: String
3798
+
3799
+ attr_accessor :ResultSet, :JobId, :Progress, :TotalCount, :RequestId
3800
+
3801
+ def initialize(resultset=nil, jobid=nil, progress=nil, totalcount=nil, requestid=nil)
3802
+ @ResultSet = resultset
3803
+ @JobId = jobid
3804
+ @Progress = progress
3805
+ @TotalCount = totalcount
3806
+ @RequestId = requestid
3807
+ end
3808
+
3809
+ def deserialize(params)
3810
+ unless params['ResultSet'].nil?
3811
+ @ResultSet = []
3812
+ params['ResultSet'].each do |i|
3813
+ imagetaskresult_tmp = ImageTaskResult.new
3814
+ imagetaskresult_tmp.deserialize(i)
3815
+ @ResultSet << imagetaskresult_tmp
3816
+ end
3817
+ end
3818
+ @JobId = params['JobId']
3819
+ @Progress = params['Progress']
3820
+ @TotalCount = params['TotalCount']
3821
+ @RequestId = params['RequestId']
3822
+ end
3823
+ end
3824
+
3825
+ # SubmitOneByOneClassTask请求参数结构体
3826
+ class SubmitOneByOneClassTaskRequest < TencentCloud::Common::AbstractModel
3827
+ # @param FileContent: 输入分析对象内容,输入数据格式参考FileType参数释义
3828
+ # @type FileContent: String
3829
+ # @param FileType: 输入分析对象类型,picture_url:图片地址,vod_url:视频地址,live_url:直播地址,picture: 图片二进制数据的BASE64编码
3830
+ # @type FileType: String
3831
+ # @param Lang: 音频源的语言,默认0为英文,1为中文
3832
+ # @type Lang: Integer
3833
+ # @param LibrarySet: 查询人员库列表,可填写学生的注册照所在人员库
3834
+ # @type LibrarySet: Array
3835
+ # @param MaxVideoDuration: 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
3836
+ # @type MaxVideoDuration: Integer
3837
+ # @param VocabLibNameList: 识别词库名列表,这些词汇库用来维护关键词,评估学生对这些关键词的使用情况
3838
+ # @type VocabLibNameList: Array
3839
+ # @param VoiceEncodeType: 语音编码类型 1:pcm,当FileType为vod_url或live_url时为必填
3840
+ # @type VoiceEncodeType: Integer
3841
+ # @param VoiceFileType: 语音文件类型10:视频(三种音频格式目前仅支持16k采样率16bit),当FileType为vod_url或live_url时为必填
3842
+ # @type VoiceFileType: Integer
3843
+
3844
+ attr_accessor :FileContent, :FileType, :Lang, :LibrarySet, :MaxVideoDuration, :VocabLibNameList, :VoiceEncodeType, :VoiceFileType
3845
+
3846
+ def initialize(filecontent=nil, filetype=nil, lang=nil, libraryset=nil, maxvideoduration=nil, vocablibnamelist=nil, voiceencodetype=nil, voicefiletype=nil)
3847
+ @FileContent = filecontent
3848
+ @FileType = filetype
3849
+ @Lang = lang
3850
+ @LibrarySet = libraryset
3851
+ @MaxVideoDuration = maxvideoduration
3852
+ @VocabLibNameList = vocablibnamelist
3853
+ @VoiceEncodeType = voiceencodetype
3854
+ @VoiceFileType = voicefiletype
3855
+ end
3856
+
3857
+ def deserialize(params)
3858
+ @FileContent = params['FileContent']
3859
+ @FileType = params['FileType']
3860
+ @Lang = params['Lang']
3861
+ @LibrarySet = params['LibrarySet']
3862
+ @MaxVideoDuration = params['MaxVideoDuration']
3863
+ @VocabLibNameList = params['VocabLibNameList']
3864
+ @VoiceEncodeType = params['VoiceEncodeType']
3865
+ @VoiceFileType = params['VoiceFileType']
3866
+ end
3867
+ end
3868
+
3869
+ # SubmitOneByOneClassTask返回参数结构体
3870
+ class SubmitOneByOneClassTaskResponse < TencentCloud::Common::AbstractModel
3871
+ # @param ImageResults: 图像任务直接返回结果,包括:FaceAttr、 FaceExpression、 FaceIdentify、 FaceInfo、 FacePose、TimeInfo
3872
+ # @type ImageResults: Array
3873
+ # @param TaskId: 任务ID
3874
+ # @type TaskId: Integer
3875
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3876
+ # @type RequestId: String
3877
+
3878
+ attr_accessor :ImageResults, :TaskId, :RequestId
3879
+
3880
+ def initialize(imageresults=nil, taskid=nil, requestid=nil)
3881
+ @ImageResults = imageresults
3882
+ @TaskId = taskid
3883
+ @RequestId = requestid
3884
+ end
3885
+
3886
+ def deserialize(params)
3887
+ unless params['ImageResults'].nil?
3888
+ @ImageResults = []
3889
+ params['ImageResults'].each do |i|
3890
+ imagetaskresult_tmp = ImageTaskResult.new
3891
+ imagetaskresult_tmp.deserialize(i)
3892
+ @ImageResults << imagetaskresult_tmp
3893
+ end
3894
+ end
3895
+ @TaskId = params['TaskId']
3896
+ @RequestId = params['RequestId']
3897
+ end
3898
+ end
3899
+
3900
+ # SubmitOpenClassTask请求参数结构体
3901
+ class SubmitOpenClassTaskRequest < TencentCloud::Common::AbstractModel
3902
+ # @param FileContent: 输入分析对象内容,输入数据格式参考FileType参数释义
3903
+ # @type FileContent: String
3904
+ # @param FileType: 输入分析对象类型,picture_url:图片地址,vod_url:视频地址,live_url:直播地址,picture: 图片二进制数据的BASE64编码
3905
+ # @type FileType: String
3906
+ # @param LibrarySet: 查询人员库列表,可填写学生们的注册照所在人员库
3907
+ # @type LibrarySet: Array
3908
+ # @param MaxVideoDuration: 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
3909
+ # @type MaxVideoDuration: Integer
3910
+
3911
+ attr_accessor :FileContent, :FileType, :LibrarySet, :MaxVideoDuration
3912
+
3913
+ def initialize(filecontent=nil, filetype=nil, libraryset=nil, maxvideoduration=nil)
3914
+ @FileContent = filecontent
3915
+ @FileType = filetype
3916
+ @LibrarySet = libraryset
3917
+ @MaxVideoDuration = maxvideoduration
3918
+ end
3919
+
3920
+ def deserialize(params)
3921
+ @FileContent = params['FileContent']
3922
+ @FileType = params['FileType']
3923
+ @LibrarySet = params['LibrarySet']
3924
+ @MaxVideoDuration = params['MaxVideoDuration']
3925
+ end
3926
+ end
3927
+
3928
+ # SubmitOpenClassTask返回参数结构体
3929
+ class SubmitOpenClassTaskResponse < TencentCloud::Common::AbstractModel
3930
+ # @param ImageResults: 图像任务直接返回结果,包括:FaceAttr、 FaceExpression、 FaceIdentify、 FaceInfo、 FacePose、 StudentBodyMovement、TimeInfo
3931
+ # @type ImageResults: Array
3932
+ # @param TaskId: 任务ID
3933
+ # @type TaskId: Integer
3934
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3935
+ # @type RequestId: String
3936
+
3937
+ attr_accessor :ImageResults, :TaskId, :RequestId
3938
+
3939
+ def initialize(imageresults=nil, taskid=nil, requestid=nil)
3940
+ @ImageResults = imageresults
3941
+ @TaskId = taskid
3942
+ @RequestId = requestid
3943
+ end
3944
+
3945
+ def deserialize(params)
3946
+ unless params['ImageResults'].nil?
3947
+ @ImageResults = []
3948
+ params['ImageResults'].each do |i|
3949
+ imagetaskresult_tmp = ImageTaskResult.new
3950
+ imagetaskresult_tmp.deserialize(i)
3951
+ @ImageResults << imagetaskresult_tmp
3952
+ end
3953
+ end
3954
+ @TaskId = params['TaskId']
3955
+ @RequestId = params['RequestId']
3956
+ end
3957
+ end
3958
+
3959
+ # SubmitPartialBodyClassTask请求参数结构体
3960
+ class SubmitPartialBodyClassTaskRequest < TencentCloud::Common::AbstractModel
3961
+ # @param FileContent: 输入分析对象内容,输入数据格式参考FileType参数释义
3962
+ # @type FileContent: String
3963
+ # @param FileType: 输入分析对象类型,picture_url:图片地址,vod_url:视频地址,live_url:直播地址,picture: 图片二进制数据的BASE64编码
3964
+ # @type FileType: String
3965
+ # @param Lang: 音频源的语言,默认0为英文,1为中文
3966
+ # @type Lang: Integer
3967
+ # @param LibrarySet: 查询人员库列表,可填写老师的注册照所在人员库
3968
+ # @type LibrarySet: Array
3969
+ # @param MaxVideoDuration: 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
3970
+ # @type MaxVideoDuration: Integer
3971
+ # @param VocabLibNameList: 识别词库名列表,这些词汇库用来维护关键词,评估老师授课过程中,对这些关键词的使用情况
3972
+ # @type VocabLibNameList: Array
3973
+ # @param VoiceEncodeType: 语音编码类型 1:pcm,当FileType为vod_url或live_url时为必填
3974
+ # @type VoiceEncodeType: Integer
3975
+ # @param VoiceFileType: 语音文件类型 10:视频(三种音频格式目前仅支持16k采样率16bit),当FileType为vod_url或live_url时为必填
3976
+ # @type VoiceFileType: Integer
3977
+
3978
+ attr_accessor :FileContent, :FileType, :Lang, :LibrarySet, :MaxVideoDuration, :VocabLibNameList, :VoiceEncodeType, :VoiceFileType
3979
+
3980
+ def initialize(filecontent=nil, filetype=nil, lang=nil, libraryset=nil, maxvideoduration=nil, vocablibnamelist=nil, voiceencodetype=nil, voicefiletype=nil)
3981
+ @FileContent = filecontent
3982
+ @FileType = filetype
3983
+ @Lang = lang
3984
+ @LibrarySet = libraryset
3985
+ @MaxVideoDuration = maxvideoduration
3986
+ @VocabLibNameList = vocablibnamelist
3987
+ @VoiceEncodeType = voiceencodetype
3988
+ @VoiceFileType = voicefiletype
3989
+ end
3990
+
3991
+ def deserialize(params)
3992
+ @FileContent = params['FileContent']
3993
+ @FileType = params['FileType']
3994
+ @Lang = params['Lang']
3995
+ @LibrarySet = params['LibrarySet']
3996
+ @MaxVideoDuration = params['MaxVideoDuration']
3997
+ @VocabLibNameList = params['VocabLibNameList']
3998
+ @VoiceEncodeType = params['VoiceEncodeType']
3999
+ @VoiceFileType = params['VoiceFileType']
4000
+ end
4001
+ end
4002
+
4003
+ # SubmitPartialBodyClassTask返回参数结构体
4004
+ class SubmitPartialBodyClassTaskResponse < TencentCloud::Common::AbstractModel
4005
+ # @param ImageResults: 图像任务直接返回结果,包括: FaceAttr、 FaceExpression、 FaceIdentify、 FaceInfo、 FacePose、 Gesture 、 Light、 TimeInfo
4006
+ # @type ImageResults: Array
4007
+ # @param TaskId: 任务ID
4008
+ # @type TaskId: Integer
4009
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4010
+ # @type RequestId: String
4011
+
4012
+ attr_accessor :ImageResults, :TaskId, :RequestId
4013
+
4014
+ def initialize(imageresults=nil, taskid=nil, requestid=nil)
4015
+ @ImageResults = imageresults
4016
+ @TaskId = taskid
4017
+ @RequestId = requestid
4018
+ end
4019
+
4020
+ def deserialize(params)
4021
+ unless params['ImageResults'].nil?
4022
+ @ImageResults = []
4023
+ params['ImageResults'].each do |i|
4024
+ imagetaskresult_tmp = ImageTaskResult.new
4025
+ imagetaskresult_tmp.deserialize(i)
4026
+ @ImageResults << imagetaskresult_tmp
4027
+ end
4028
+ end
4029
+ @TaskId = params['TaskId']
4030
+ @RequestId = params['RequestId']
4031
+ end
4032
+ end
4033
+
4034
+ # SubmitTraditionalClassTask请求参数结构体
4035
+ class SubmitTraditionalClassTaskRequest < TencentCloud::Common::AbstractModel
4036
+ # @param FileContent: 输入分析对象内容,输入数据格式参考FileType参数释义
4037
+ # @type FileContent: String
4038
+ # @param FileType: 输入分析对象类型,picture_url:图片地址,vod_url:视频地址,live_url:直播地址,picture:图片二进制数据的BASE64编码
4039
+ # @type FileType: String
4040
+ # @param LibrarySet: 查询人员库列表,可填写学生们的注册照所在人员库
4041
+ # @type LibrarySet: Array
4042
+ # @param MaxVideoDuration: 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
4043
+ # @type MaxVideoDuration: Integer
4044
+
4045
+ attr_accessor :FileContent, :FileType, :LibrarySet, :MaxVideoDuration
4046
+
4047
+ def initialize(filecontent=nil, filetype=nil, libraryset=nil, maxvideoduration=nil)
4048
+ @FileContent = filecontent
4049
+ @FileType = filetype
4050
+ @LibrarySet = libraryset
4051
+ @MaxVideoDuration = maxvideoduration
4052
+ end
4053
+
4054
+ def deserialize(params)
4055
+ @FileContent = params['FileContent']
4056
+ @FileType = params['FileType']
4057
+ @LibrarySet = params['LibrarySet']
4058
+ @MaxVideoDuration = params['MaxVideoDuration']
4059
+ end
4060
+ end
4061
+
4062
+ # SubmitTraditionalClassTask返回参数结构体
4063
+ class SubmitTraditionalClassTaskResponse < TencentCloud::Common::AbstractModel
4064
+ # @param ImageResults: 图像任务直接返回结果,包括: ActionInfo、FaceAttr、 FaceExpression、 FaceIdentify、 FaceInfo、 FacePose、 TimeInfo
4065
+ # @type ImageResults: Array
4066
+ # @param TaskId: 任务ID
4067
+ # @type TaskId: Integer
4068
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4069
+ # @type RequestId: String
4070
+
4071
+ attr_accessor :ImageResults, :TaskId, :RequestId
4072
+
4073
+ def initialize(imageresults=nil, taskid=nil, requestid=nil)
4074
+ @ImageResults = imageresults
4075
+ @TaskId = taskid
4076
+ @RequestId = requestid
4077
+ end
4078
+
4079
+ def deserialize(params)
4080
+ unless params['ImageResults'].nil?
4081
+ @ImageResults = []
4082
+ params['ImageResults'].each do |i|
4083
+ imagetaskresult_tmp = ImageTaskResult.new
4084
+ imagetaskresult_tmp.deserialize(i)
4085
+ @ImageResults << imagetaskresult_tmp
4086
+ end
4087
+ end
4088
+ @TaskId = params['TaskId']
4089
+ @RequestId = params['RequestId']
4090
+ end
4091
+ end
4092
+
4093
+ # 疑似出席人员
4094
+ class SuspectedInfo < TencentCloud::Common::AbstractModel
4095
+ # @param FaceSet: TopN匹配信息列表
4096
+ # @type FaceSet: Array
4097
+ # @param PersonId: 识别到的人员id
4098
+ # @type PersonId: String
4099
+
4100
+ attr_accessor :FaceSet, :PersonId
4101
+
4102
+ def initialize(faceset=nil, personid=nil)
4103
+ @FaceSet = faceset
4104
+ @PersonId = personid
4105
+ end
4106
+
4107
+ def deserialize(params)
4108
+ unless params['FaceSet'].nil?
4109
+ @FaceSet = []
4110
+ params['FaceSet'].each do |i|
4111
+ frameinfo_tmp = FrameInfo.new
4112
+ frameinfo_tmp.deserialize(i)
4113
+ @FaceSet << frameinfo_tmp
4114
+ end
4115
+ end
4116
+ @PersonId = params['PersonId']
4117
+ end
4118
+ end
4119
+
4120
+ # 教师是否在屏幕内判断结果
4121
+ class TeacherOutScreenResult < TencentCloud::Common::AbstractModel
4122
+ # @param Class: 动作识别结果,InScreen:在屏幕内
4123
+ # OutScreen:不在屏幕内
4124
+ # @type Class: String
4125
+ # @param Height: 识别结果高度
4126
+ # @type Height: Integer
4127
+ # @param Left: 识别结果左坐标
4128
+ # @type Left: Integer
4129
+ # @param Top: 识别结果顶坐标
4130
+ # @type Top: Integer
4131
+ # @param Width: 识别结果宽度
4132
+ # @type Width: Integer
4133
+
4134
+ attr_accessor :Class, :Height, :Left, :Top, :Width
4135
+
4136
+ def initialize(_class=nil, height=nil, left=nil, top=nil, width=nil)
4137
+ @Class = _class
4138
+ @Height = height
4139
+ @Left = left
4140
+ @Top = top
4141
+ @Width = width
4142
+ end
4143
+
4144
+ def deserialize(params)
4145
+ @Class = params['Class']
4146
+ @Height = params['Height']
4147
+ @Left = params['Left']
4148
+ @Top = params['Top']
4149
+ @Width = params['Width']
4150
+ end
4151
+ end
4152
+
4153
+ # 当前句子的信息
4154
+ class TextItem < TencentCloud::Common::AbstractModel
4155
+ # @param Words: 当前句子包含的所有单词信息
4156
+ # @type Words: Array
4157
+ # @param Confidence: 当前句子的置信度
4158
+ # @type Confidence: Float
4159
+ # @param Mbtm: 当前句子语音的起始时间点,单位为ms
4160
+ # @type Mbtm: Integer
4161
+ # @param Metm: 当前句子语音的终止时间点,单位为ms
4162
+ # @type Metm: Integer
4163
+ # @param Tag: 保留参数,暂无意义
4164
+ # @type Tag: Integer
4165
+ # @param Text: 当前句子
4166
+ # @type Text: String
4167
+ # @param TextSize: 当前句子的字节数
4168
+ # @type TextSize: Integer
4169
+
4170
+ attr_accessor :Words, :Confidence, :Mbtm, :Metm, :Tag, :Text, :TextSize
4171
+
4172
+ def initialize(words=nil, confidence=nil, mbtm=nil, metm=nil, tag=nil, text=nil, textsize=nil)
4173
+ @Words = words
4174
+ @Confidence = confidence
4175
+ @Mbtm = mbtm
4176
+ @Metm = metm
4177
+ @Tag = tag
4178
+ @Text = text
4179
+ @TextSize = textsize
4180
+ end
4181
+
4182
+ def deserialize(params)
4183
+ unless params['Words'].nil?
4184
+ @Words = []
4185
+ params['Words'].each do |i|
4186
+ word_tmp = Word.new
4187
+ word_tmp.deserialize(i)
4188
+ @Words << word_tmp
4189
+ end
4190
+ end
4191
+ @Confidence = params['Confidence']
4192
+ @Mbtm = params['Mbtm']
4193
+ @Metm = params['Metm']
4194
+ @Tag = params['Tag']
4195
+ @Text = params['Text']
4196
+ @TextSize = params['TextSize']
4197
+ end
4198
+ end
4199
+
4200
+ # TimeInfoResult
4201
+ class TimeInfoResult < TencentCloud::Common::AbstractModel
4202
+ # @param Duration: 持续时间,单位毫秒
4203
+ # @type Duration: Integer
4204
+ # @param EndTs: 结束时间戳,单位毫秒
4205
+ # @type EndTs: Integer
4206
+ # @param StartTs: 开始时间戳,单位毫秒
4207
+ # @type StartTs: Integer
4208
+
4209
+ attr_accessor :Duration, :EndTs, :StartTs
4210
+
4211
+ def initialize(duration=nil, endts=nil, startts=nil)
4212
+ @Duration = duration
4213
+ @EndTs = endts
4214
+ @StartTs = startts
4215
+ end
4216
+
4217
+ def deserialize(params)
4218
+ @Duration = params['Duration']
4219
+ @EndTs = params['EndTs']
4220
+ @StartTs = params['StartTs']
4221
+ end
4222
+ end
4223
+
4224
+ # 起止时间
4225
+ class TimeType < TencentCloud::Common::AbstractModel
4226
+ # @param EndTime: 结束时间戳
4227
+ # @type EndTime: Integer
4228
+ # @param StartTime: 起始时间戳
4229
+ # @type StartTime: Integer
4230
+
4231
+ attr_accessor :EndTime, :StartTime
4232
+
4233
+ def initialize(endtime=nil, starttime=nil)
4234
+ @EndTime = endtime
4235
+ @StartTime = starttime
4236
+ end
4237
+
4238
+ def deserialize(params)
4239
+ @EndTime = params['EndTime']
4240
+ @StartTime = params['StartTime']
4241
+ end
4242
+ end
4243
+
4244
+ # TransmitAudioStream请求参数结构体
4245
+ class TransmitAudioStreamRequest < TencentCloud::Common::AbstractModel
4246
+ # @param Functions: 功能开关列表,表示是否需要打开相应的功能,返回相应的信息
4247
+ # @type Functions: :class:`Tencentcloud::Tci.v20190318.models.Function`
4248
+ # @param SeqId: 流式数据包的序号,从1开始,当IsEnd字段为1后后续序号无意义。
4249
+ # @type SeqId: Integer
4250
+ # @param SessionId: 语音段唯一标识,一个完整语音一个SessionId。
4251
+ # @type SessionId: String
4252
+ # @param UserVoiceData: 当前数据包数据, 流式模式下数据包大小可以按需设置,在网络良好的情况下,建议设置为0.5k,且必须保证分片帧完整(16bit的数据必须保证音频长度为偶数),编码格式要求为BASE64。
4253
+ # @type UserVoiceData: String
4254
+ # @param VoiceEncodeType: 语音编码类型 1:pcm。
4255
+ # @type VoiceEncodeType: Integer
4256
+ # @param VoiceFileType: 语音文件类型 1: raw, 2: wav, 3: mp3 (语言文件格式目前仅支持 16k 采样率 16bit 编码单声道,如有不一致可能导致评估不准确或失败)。
4257
+ # @type VoiceFileType: Integer
4258
+ # @param IsEnd: 是否传输完毕标志,若为0表示未完毕,若为1则传输完毕开始评估,非流式模式下无意义。
4259
+ # @type IsEnd: Integer
4260
+ # @param Lang: 音频源的语言,默认0为英文,1为中文
4261
+ # @type Lang: Integer
4262
+ # @param StorageMode: 是否临时保存 音频链接
4263
+ # @type StorageMode: Integer
4264
+ # @param VocabLibNameList: 识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析
4265
+ # @type VocabLibNameList: Array
4266
+
4267
+ attr_accessor :Functions, :SeqId, :SessionId, :UserVoiceData, :VoiceEncodeType, :VoiceFileType, :IsEnd, :Lang, :StorageMode, :VocabLibNameList
4268
+
4269
+ def initialize(functions=nil, seqid=nil, sessionid=nil, uservoicedata=nil, voiceencodetype=nil, voicefiletype=nil, isend=nil, lang=nil, storagemode=nil, vocablibnamelist=nil)
4270
+ @Functions = functions
4271
+ @SeqId = seqid
4272
+ @SessionId = sessionid
4273
+ @UserVoiceData = uservoicedata
4274
+ @VoiceEncodeType = voiceencodetype
4275
+ @VoiceFileType = voicefiletype
4276
+ @IsEnd = isend
4277
+ @Lang = lang
4278
+ @StorageMode = storagemode
4279
+ @VocabLibNameList = vocablibnamelist
4280
+ end
4281
+
4282
+ def deserialize(params)
4283
+ unless params['Functions'].nil?
4284
+ @Functions = Function.new
4285
+ @Functions.deserialize(params['Functions'])
4286
+ end
4287
+ @SeqId = params['SeqId']
4288
+ @SessionId = params['SessionId']
4289
+ @UserVoiceData = params['UserVoiceData']
4290
+ @VoiceEncodeType = params['VoiceEncodeType']
4291
+ @VoiceFileType = params['VoiceFileType']
4292
+ @IsEnd = params['IsEnd']
4293
+ @Lang = params['Lang']
4294
+ @StorageMode = params['StorageMode']
4295
+ @VocabLibNameList = params['VocabLibNameList']
4296
+ end
4297
+ end
4298
+
4299
+ # TransmitAudioStream返回参数结构体
4300
+ class TransmitAudioStreamResponse < TencentCloud::Common::AbstractModel
4301
+ # @param AsrStat: 返回的当前音频的统计信息。当进度为100时返回。
4302
+ # @type AsrStat: :class:`Tencentcloud::Tci.v20190318.models.ASRStat`
4303
+ # @param Texts: 返回当前音频流的详细信息,如果是流模式,返回的是对应流的详细信息,如果是 URL模式,返回的是查询的那一段seq对应的音频的详细信息。
4304
+ # @type Texts: Array
4305
+ # @param VocabAnalysisDetailInfo: 返回词汇库中的单词出现的详细时间信息。
4306
+ # @type VocabAnalysisDetailInfo: Array
4307
+ # @param VocabAnalysisStatInfo: 返回词汇库中的单词出现的次数信息。
4308
+ # @type VocabAnalysisStatInfo: Array
4309
+ # @param AllTexts: 音频全部文本。
4310
+ # @type AllTexts: String
4311
+ # @param AudioUrl: 临时保存的音频链接
4312
+ # @type AudioUrl: String
4313
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4314
+ # @type RequestId: String
4315
+
4316
+ attr_accessor :AsrStat, :Texts, :VocabAnalysisDetailInfo, :VocabAnalysisStatInfo, :AllTexts, :AudioUrl, :RequestId
4317
+
4318
+ def initialize(asrstat=nil, texts=nil, vocabanalysisdetailinfo=nil, vocabanalysisstatinfo=nil, alltexts=nil, audiourl=nil, requestid=nil)
4319
+ @AsrStat = asrstat
4320
+ @Texts = texts
4321
+ @VocabAnalysisDetailInfo = vocabanalysisdetailinfo
4322
+ @VocabAnalysisStatInfo = vocabanalysisstatinfo
4323
+ @AllTexts = alltexts
4324
+ @AudioUrl = audiourl
4325
+ @RequestId = requestid
4326
+ end
4327
+
4328
+ def deserialize(params)
4329
+ unless params['AsrStat'].nil?
4330
+ @AsrStat = ASRStat.new
4331
+ @AsrStat.deserialize(params['AsrStat'])
4332
+ end
4333
+ unless params['Texts'].nil?
4334
+ @Texts = []
4335
+ params['Texts'].each do |i|
4336
+ wholetextitem_tmp = WholeTextItem.new
4337
+ wholetextitem_tmp.deserialize(i)
4338
+ @Texts << wholetextitem_tmp
4339
+ end
4340
+ end
4341
+ unless params['VocabAnalysisDetailInfo'].nil?
4342
+ @VocabAnalysisDetailInfo = []
4343
+ params['VocabAnalysisDetailInfo'].each do |i|
4344
+ vocabdetailinfomation_tmp = VocabDetailInfomation.new
4345
+ vocabdetailinfomation_tmp.deserialize(i)
4346
+ @VocabAnalysisDetailInfo << vocabdetailinfomation_tmp
4347
+ end
4348
+ end
4349
+ unless params['VocabAnalysisStatInfo'].nil?
4350
+ @VocabAnalysisStatInfo = []
4351
+ params['VocabAnalysisStatInfo'].each do |i|
4352
+ vocabstatinfomation_tmp = VocabStatInfomation.new
4353
+ vocabstatinfomation_tmp.deserialize(i)
4354
+ @VocabAnalysisStatInfo << vocabstatinfomation_tmp
4355
+ end
4356
+ end
4357
+ @AllTexts = params['AllTexts']
4358
+ @AudioUrl = params['AudioUrl']
4359
+ @RequestId = params['RequestId']
4360
+ end
4361
+ end
4362
+
4363
+ # 词汇库中的单词出现在音频中的那个句子的起始时间和结束时间信息
4364
+ class VocabDetailInfomation < TencentCloud::Common::AbstractModel
4365
+ # @param VocabDetailInfo: 词汇库中的单词出现在该音频中的那个句子的时间戳,出现了几次,就返回对应次数的起始和结束时间戳
4366
+ # @type VocabDetailInfo: Array
4367
+ # @param VocabLibName: 词汇库名
4368
+ # @type VocabLibName: String
4369
+
4370
+ attr_accessor :VocabDetailInfo, :VocabLibName
4371
+
4372
+ def initialize(vocabdetailinfo=nil, vocablibname=nil)
4373
+ @VocabDetailInfo = vocabdetailinfo
4374
+ @VocabLibName = vocablibname
4375
+ end
4376
+
4377
+ def deserialize(params)
4378
+ unless params['VocabDetailInfo'].nil?
4379
+ @VocabDetailInfo = []
4380
+ params['VocabDetailInfo'].each do |i|
4381
+ detailinfo_tmp = DetailInfo.new
4382
+ detailinfo_tmp.deserialize(i)
4383
+ @VocabDetailInfo << detailinfo_tmp
4384
+ end
4385
+ end
4386
+ @VocabLibName = params['VocabLibName']
4387
+ end
4388
+ end
4389
+
4390
+ # 词汇库中的单词出现在音频中的总次数信息
4391
+ class VocabStatInfomation < TencentCloud::Common::AbstractModel
4392
+ # @param VocabDetailInfo: 单词出现在该音频中总次数
4393
+ # @type VocabDetailInfo: Array
4394
+ # @param VocabLibName: 词汇库名称
4395
+ # @type VocabLibName: String
4396
+
4397
+ attr_accessor :VocabDetailInfo, :VocabLibName
4398
+
4399
+ def initialize(vocabdetailinfo=nil, vocablibname=nil)
4400
+ @VocabDetailInfo = vocabdetailinfo
4401
+ @VocabLibName = vocablibname
4402
+ end
4403
+
4404
+ def deserialize(params)
4405
+ unless params['VocabDetailInfo'].nil?
4406
+ @VocabDetailInfo = []
4407
+ params['VocabDetailInfo'].each do |i|
4408
+ statinfo_tmp = StatInfo.new
4409
+ statinfo_tmp.deserialize(i)
4410
+ @VocabDetailInfo << statinfo_tmp
4411
+ end
4412
+ end
4413
+ @VocabLibName = params['VocabLibName']
4414
+ end
4415
+ end
4416
+
4417
+ # 含有语速的句子信息
4418
+ class WholeTextItem < TencentCloud::Common::AbstractModel
4419
+ # @param TextItem: 当前句子的信息
4420
+ # @type TextItem: :class:`Tencentcloud::Tci.v20190318.models.TextItem`
4421
+ # @param AvgVolume: Vad的平均音量
4422
+ # @type AvgVolume: Float
4423
+ # @param MaxVolume: Vad的最大音量
4424
+ # @type MaxVolume: Float
4425
+ # @param MinVolume: Vad的最小音量
4426
+ # @type MinVolume: Float
4427
+ # @param Speed: 当前句子的语速
4428
+ # @type Speed: Float
4429
+
4430
+ attr_accessor :TextItem, :AvgVolume, :MaxVolume, :MinVolume, :Speed
4431
+
4432
+ def initialize(textitem=nil, avgvolume=nil, maxvolume=nil, minvolume=nil, speed=nil)
4433
+ @TextItem = textitem
4434
+ @AvgVolume = avgvolume
4435
+ @MaxVolume = maxvolume
4436
+ @MinVolume = minvolume
4437
+ @Speed = speed
4438
+ end
4439
+
4440
+ def deserialize(params)
4441
+ unless params['TextItem'].nil?
4442
+ @TextItem = TextItem.new
4443
+ @TextItem.deserialize(params['TextItem'])
4444
+ end
4445
+ @AvgVolume = params['AvgVolume']
4446
+ @MaxVolume = params['MaxVolume']
4447
+ @MinVolume = params['MinVolume']
4448
+ @Speed = params['Speed']
4449
+ end
4450
+ end
4451
+
4452
+ # 当前句子包含的所有单词信息
4453
+ class Word < TencentCloud::Common::AbstractModel
4454
+ # @param Confidence: 当前词的置信度
4455
+ # @type Confidence: Float
4456
+ # @param Mbtm: 当前单词语音的起始时间点,单位为ms
4457
+ # @type Mbtm: Integer
4458
+ # @param Metm: 当前单词语音的终止时间点,单位为ms
4459
+ # @type Metm: Integer
4460
+ # @param Text: 当前词
4461
+ # @type Text: String
4462
+ # @param Wsize: 当前词的字节数
4463
+ # @type Wsize: Integer
4464
+
4465
+ attr_accessor :Confidence, :Mbtm, :Metm, :Text, :Wsize
4466
+
4467
+ def initialize(confidence=nil, mbtm=nil, metm=nil, text=nil, wsize=nil)
4468
+ @Confidence = confidence
4469
+ @Mbtm = mbtm
4470
+ @Metm = metm
4471
+ @Text = text
4472
+ @Wsize = wsize
4473
+ end
4474
+
4475
+ def deserialize(params)
4476
+ @Confidence = params['Confidence']
4477
+ @Mbtm = params['Mbtm']
4478
+ @Metm = params['Metm']
4479
+ @Text = params['Text']
4480
+ @Wsize = params['Wsize']
4481
+ end
4482
+ end
4483
+
4484
+ # 单词出现的那个句子的起始时间和结束时间信息
4485
+ class WordTimePair < TencentCloud::Common::AbstractModel
4486
+ # @param Mbtm: 单词出现的那个句子的起始时间
4487
+ # @type Mbtm: Integer
4488
+ # @param Metm: 单词出现的那个句子的结束时间
4489
+ # @type Metm: Integer
4490
+
4491
+ attr_accessor :Mbtm, :Metm
4492
+
4493
+ def initialize(mbtm=nil, metm=nil)
4494
+ @Mbtm = mbtm
4495
+ @Metm = metm
4496
+ end
4497
+
4498
+ def deserialize(params)
4499
+ @Mbtm = params['Mbtm']
4500
+ @Metm = params['Metm']
4501
+ end
4502
+ end
4503
+
4504
+ end
4505
+ end
4506
+ end
4507
+