@alicloud/green20220302 2.23.0 → 3.0.0

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.
@@ -1,596 +1,4 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
- export declare class ImageQueueModerationResponseBodyDataExtCustomImage extends $dara.Model {
3
- /**
4
- * @example
5
- * 123456
6
- */
7
- imageId?: string;
8
- /**
9
- * @example
10
- * 图库123
11
- */
12
- libId?: string;
13
- /**
14
- * @example
15
- * 图库123
16
- */
17
- libName?: string;
18
- static names(): {
19
- [key: string]: string;
20
- };
21
- static types(): {
22
- [key: string]: any;
23
- };
24
- validate(): void;
25
- constructor(map?: {
26
- [key: string]: any;
27
- });
28
- }
29
- export declare class ImageQueueModerationResponseBodyDataExtFaceDataBang extends $dara.Model {
30
- /**
31
- * @example
32
- * 81.88
33
- */
34
- confidence?: number;
35
- /**
36
- * @example
37
- * Has
38
- */
39
- value?: string;
40
- static names(): {
41
- [key: string]: string;
42
- };
43
- static types(): {
44
- [key: string]: any;
45
- };
46
- validate(): void;
47
- constructor(map?: {
48
- [key: string]: any;
49
- });
50
- }
51
- export declare class ImageQueueModerationResponseBodyDataExtFaceDataGender extends $dara.Model {
52
- /**
53
- * @example
54
- * 81.88
55
- */
56
- confidence?: number;
57
- /**
58
- * @example
59
- * FeMale
60
- */
61
- value?: string;
62
- static names(): {
63
- [key: string]: string;
64
- };
65
- static types(): {
66
- [key: string]: any;
67
- };
68
- validate(): void;
69
- constructor(map?: {
70
- [key: string]: any;
71
- });
72
- }
73
- export declare class ImageQueueModerationResponseBodyDataExtFaceDataHairstyle extends $dara.Model {
74
- /**
75
- * @example
76
- * 81.88
77
- */
78
- confidence?: number;
79
- /**
80
- * @example
81
- * Short
82
- */
83
- value?: string;
84
- static names(): {
85
- [key: string]: string;
86
- };
87
- static types(): {
88
- [key: string]: any;
89
- };
90
- validate(): void;
91
- constructor(map?: {
92
- [key: string]: any;
93
- });
94
- }
95
- export declare class ImageQueueModerationResponseBodyDataExtFaceDataHat extends $dara.Model {
96
- /**
97
- * @example
98
- * 88.88
99
- */
100
- confidence?: number;
101
- /**
102
- * @example
103
- * Wear
104
- */
105
- value?: string;
106
- static names(): {
107
- [key: string]: string;
108
- };
109
- static types(): {
110
- [key: string]: any;
111
- };
112
- validate(): void;
113
- constructor(map?: {
114
- [key: string]: any;
115
- });
116
- }
117
- export declare class ImageQueueModerationResponseBodyDataExtFaceDataLocation extends $dara.Model {
118
- /**
119
- * @example
120
- * 26
121
- */
122
- h?: number;
123
- /**
124
- * @example
125
- * 83
126
- */
127
- w?: number;
128
- /**
129
- * @example
130
- * 41
131
- */
132
- x?: number;
133
- /**
134
- * @example
135
- * 84
136
- */
137
- y?: number;
138
- static names(): {
139
- [key: string]: string;
140
- };
141
- static types(): {
142
- [key: string]: any;
143
- };
144
- validate(): void;
145
- constructor(map?: {
146
- [key: string]: any;
147
- });
148
- }
149
- export declare class ImageQueueModerationResponseBodyDataExtFaceDataMask extends $dara.Model {
150
- /**
151
- * @example
152
- * 99.99
153
- */
154
- confidence?: number;
155
- /**
156
- * @example
157
- * Wear
158
- */
159
- value?: string;
160
- static names(): {
161
- [key: string]: string;
162
- };
163
- static types(): {
164
- [key: string]: any;
165
- };
166
- validate(): void;
167
- constructor(map?: {
168
- [key: string]: any;
169
- });
170
- }
171
- export declare class ImageQueueModerationResponseBodyDataExtFaceDataMustache extends $dara.Model {
172
- /**
173
- * @example
174
- * 99.99
175
- */
176
- confidence?: number;
177
- /**
178
- * @example
179
- * Has
180
- */
181
- value?: string;
182
- static names(): {
183
- [key: string]: string;
184
- };
185
- static types(): {
186
- [key: string]: any;
187
- };
188
- validate(): void;
189
- constructor(map?: {
190
- [key: string]: any;
191
- });
192
- }
193
- export declare class ImageQueueModerationResponseBodyDataExtFaceDataQuality extends $dara.Model {
194
- /**
195
- * @example
196
- * 5.88
197
- */
198
- blur?: number;
199
- /**
200
- * @example
201
- * 100.0
202
- */
203
- integrity?: number;
204
- /**
205
- * @example
206
- * 5.88
207
- */
208
- pitch?: number;
209
- /**
210
- * @example
211
- * 5.18
212
- */
213
- roll?: number;
214
- /**
215
- * @example
216
- * 5.18
217
- */
218
- yaw?: number;
219
- static names(): {
220
- [key: string]: string;
221
- };
222
- static types(): {
223
- [key: string]: any;
224
- };
225
- validate(): void;
226
- constructor(map?: {
227
- [key: string]: any;
228
- });
229
- }
230
- export declare class ImageQueueModerationResponseBodyDataExtFaceData extends $dara.Model {
231
- /**
232
- * @example
233
- * 18
234
- */
235
- age?: number;
236
- bang?: ImageQueueModerationResponseBodyDataExtFaceDataBang;
237
- gender?: ImageQueueModerationResponseBodyDataExtFaceDataGender;
238
- /**
239
- * @example
240
- * Common
241
- */
242
- glasses?: string;
243
- hairstyle?: ImageQueueModerationResponseBodyDataExtFaceDataHairstyle;
244
- hat?: ImageQueueModerationResponseBodyDataExtFaceDataHat;
245
- location?: ImageQueueModerationResponseBodyDataExtFaceDataLocation;
246
- mask?: ImageQueueModerationResponseBodyDataExtFaceDataMask;
247
- mustache?: ImageQueueModerationResponseBodyDataExtFaceDataMustache;
248
- quality?: ImageQueueModerationResponseBodyDataExtFaceDataQuality;
249
- /**
250
- * @example
251
- * 85.88
252
- */
253
- smile?: number;
254
- static names(): {
255
- [key: string]: string;
256
- };
257
- static types(): {
258
- [key: string]: any;
259
- };
260
- validate(): void;
261
- constructor(map?: {
262
- [key: string]: any;
263
- });
264
- }
265
- export declare class ImageQueueModerationResponseBodyDataExtLogoDataLocation extends $dara.Model {
266
- /**
267
- * @example
268
- * 440
269
- */
270
- h?: number;
271
- /**
272
- * @example
273
- * 330
274
- */
275
- w?: number;
276
- /**
277
- * @example
278
- * 11
279
- */
280
- x?: number;
281
- /**
282
- * @example
283
- * 22
284
- */
285
- y?: number;
286
- static names(): {
287
- [key: string]: string;
288
- };
289
- static types(): {
290
- [key: string]: any;
291
- };
292
- validate(): void;
293
- constructor(map?: {
294
- [key: string]: any;
295
- });
296
- }
297
- export declare class ImageQueueModerationResponseBodyDataExtLogoDataLogo extends $dara.Model {
298
- /**
299
- * @example
300
- * 99.1
301
- */
302
- confidence?: number;
303
- /**
304
- * @example
305
- * logo_sns
306
- */
307
- label?: string;
308
- /**
309
- * @example
310
- * 钉钉
311
- */
312
- name?: string;
313
- static names(): {
314
- [key: string]: string;
315
- };
316
- static types(): {
317
- [key: string]: any;
318
- };
319
- validate(): void;
320
- constructor(map?: {
321
- [key: string]: any;
322
- });
323
- }
324
- export declare class ImageQueueModerationResponseBodyDataExtLogoData extends $dara.Model {
325
- location?: ImageQueueModerationResponseBodyDataExtLogoDataLocation;
326
- logo?: ImageQueueModerationResponseBodyDataExtLogoDataLogo[];
327
- static names(): {
328
- [key: string]: string;
329
- };
330
- static types(): {
331
- [key: string]: any;
332
- };
333
- validate(): void;
334
- constructor(map?: {
335
- [key: string]: any;
336
- });
337
- }
338
- export declare class ImageQueueModerationResponseBodyDataExtOcrResultLocation extends $dara.Model {
339
- /**
340
- * @example
341
- * 44
342
- */
343
- h?: number;
344
- /**
345
- * @example
346
- * 33
347
- */
348
- w?: number;
349
- /**
350
- * @example
351
- * 11
352
- */
353
- x?: number;
354
- /**
355
- * @example
356
- * 22
357
- */
358
- y?: number;
359
- static names(): {
360
- [key: string]: string;
361
- };
362
- static types(): {
363
- [key: string]: any;
364
- };
365
- validate(): void;
366
- constructor(map?: {
367
- [key: string]: any;
368
- });
369
- }
370
- export declare class ImageQueueModerationResponseBodyDataExtOcrResult extends $dara.Model {
371
- location?: ImageQueueModerationResponseBodyDataExtOcrResultLocation;
372
- /**
373
- * @example
374
- * abcd
375
- */
376
- text?: string;
377
- static names(): {
378
- [key: string]: string;
379
- };
380
- static types(): {
381
- [key: string]: any;
382
- };
383
- validate(): void;
384
- constructor(map?: {
385
- [key: string]: any;
386
- });
387
- }
388
- export declare class ImageQueueModerationResponseBodyDataExtPublicFigureLocation extends $dara.Model {
389
- /**
390
- * @example
391
- * 440
392
- */
393
- h?: number;
394
- /**
395
- * @example
396
- * 330
397
- */
398
- w?: number;
399
- /**
400
- * @example
401
- * 11
402
- */
403
- x?: number;
404
- /**
405
- * @example
406
- * 22
407
- */
408
- y?: number;
409
- static names(): {
410
- [key: string]: string;
411
- };
412
- static types(): {
413
- [key: string]: any;
414
- };
415
- validate(): void;
416
- constructor(map?: {
417
- [key: string]: any;
418
- });
419
- }
420
- export declare class ImageQueueModerationResponseBodyDataExtPublicFigure extends $dara.Model {
421
- /**
422
- * @example
423
- * xxx001
424
- */
425
- figureId?: string;
426
- /**
427
- * @example
428
- * yzazhzou
429
- */
430
- figureName?: string;
431
- location?: ImageQueueModerationResponseBodyDataExtPublicFigureLocation[];
432
- static names(): {
433
- [key: string]: string;
434
- };
435
- static types(): {
436
- [key: string]: any;
437
- };
438
- validate(): void;
439
- constructor(map?: {
440
- [key: string]: any;
441
- });
442
- }
443
- export declare class ImageQueueModerationResponseBodyDataExtRecognition extends $dara.Model {
444
- /**
445
- * @example
446
- * 办公大楼
447
- */
448
- classification?: string;
449
- /**
450
- * @example
451
- * 81.22
452
- */
453
- confidence?: number;
454
- static names(): {
455
- [key: string]: string;
456
- };
457
- static types(): {
458
- [key: string]: any;
459
- };
460
- validate(): void;
461
- constructor(map?: {
462
- [key: string]: any;
463
- });
464
- }
465
- export declare class ImageQueueModerationResponseBodyDataExtTextInImageCustomText extends $dara.Model {
466
- /**
467
- * @example
468
- * 自定义词1,自定义词2
469
- */
470
- keyWords?: string;
471
- /**
472
- * @example
473
- * 123456
474
- */
475
- libId?: string;
476
- /**
477
- * @example
478
- * 自定义库1
479
- */
480
- libName?: string;
481
- static names(): {
482
- [key: string]: string;
483
- };
484
- static types(): {
485
- [key: string]: any;
486
- };
487
- validate(): void;
488
- constructor(map?: {
489
- [key: string]: any;
490
- });
491
- }
492
- export declare class ImageQueueModerationResponseBodyDataExtTextInImageOcrResultLocation extends $dara.Model {
493
- /**
494
- * @example
495
- * 33
496
- */
497
- h?: number;
498
- /**
499
- * @example
500
- * 44
501
- */
502
- w?: number;
503
- /**
504
- * @example
505
- * 11
506
- */
507
- x?: number;
508
- /**
509
- * @example
510
- * 22
511
- */
512
- y?: number;
513
- static names(): {
514
- [key: string]: string;
515
- };
516
- static types(): {
517
- [key: string]: any;
518
- };
519
- validate(): void;
520
- constructor(map?: {
521
- [key: string]: any;
522
- });
523
- }
524
- export declare class ImageQueueModerationResponseBodyDataExtTextInImageOcrResult extends $dara.Model {
525
- location?: ImageQueueModerationResponseBodyDataExtTextInImageOcrResultLocation;
526
- /**
527
- * @example
528
- * abcd
529
- */
530
- text?: string;
531
- static names(): {
532
- [key: string]: string;
533
- };
534
- static types(): {
535
- [key: string]: any;
536
- };
537
- validate(): void;
538
- constructor(map?: {
539
- [key: string]: any;
540
- });
541
- }
542
- export declare class ImageQueueModerationResponseBodyDataExtTextInImage extends $dara.Model {
543
- customText?: ImageQueueModerationResponseBodyDataExtTextInImageCustomText[];
544
- ocrResult?: ImageQueueModerationResponseBodyDataExtTextInImageOcrResult[];
545
- riskWord?: string[];
546
- static names(): {
547
- [key: string]: string;
548
- };
549
- static types(): {
550
- [key: string]: any;
551
- };
552
- validate(): void;
553
- constructor(map?: {
554
- [key: string]: any;
555
- });
556
- }
557
- export declare class ImageQueueModerationResponseBodyDataExtVlContent extends $dara.Model {
558
- /**
559
- * @example
560
- * 这是一段描述
561
- */
562
- outputText?: string;
563
- static names(): {
564
- [key: string]: string;
565
- };
566
- static types(): {
567
- [key: string]: any;
568
- };
569
- validate(): void;
570
- constructor(map?: {
571
- [key: string]: any;
572
- });
573
- }
574
- export declare class ImageQueueModerationResponseBodyDataExt extends $dara.Model {
575
- customImage?: ImageQueueModerationResponseBodyDataExtCustomImage[];
576
- faceData?: ImageQueueModerationResponseBodyDataExtFaceData[];
577
- logoData?: ImageQueueModerationResponseBodyDataExtLogoData[];
578
- ocrResult?: ImageQueueModerationResponseBodyDataExtOcrResult[];
579
- publicFigure?: ImageQueueModerationResponseBodyDataExtPublicFigure[];
580
- recognition?: ImageQueueModerationResponseBodyDataExtRecognition[];
581
- textInImage?: ImageQueueModerationResponseBodyDataExtTextInImage;
582
- vlContent?: ImageQueueModerationResponseBodyDataExtVlContent;
583
- static names(): {
584
- [key: string]: string;
585
- };
586
- static types(): {
587
- [key: string]: any;
588
- };
589
- validate(): void;
590
- constructor(map?: {
591
- [key: string]: any;
592
- });
593
- }
594
2
  export declare class ImageQueueModerationResponseBodyDataResult extends $dara.Model {
595
3
  /**
596
4
  * @example
@@ -629,12 +37,16 @@ export declare class ImageQueueModerationResponseBodyData extends $dara.Model {
629
37
  * data1234
630
38
  */
631
39
  dataId?: string;
632
- ext?: ImageQueueModerationResponseBodyDataExt;
633
40
  /**
634
41
  * @example
635
- * xxxxx-xxxxx
42
+ * [{"result":[{"confidence":81.22,"label":"violent_explosion"}]}]
43
+ */
44
+ frame?: string;
45
+ /**
46
+ * @example
47
+ * 1
636
48
  */
637
- manualTaskId?: string;
49
+ frameNum?: number;
638
50
  result?: ImageQueueModerationResponseBodyDataResult[];
639
51
  /**
640
52
  * @example