tencentcloud-sdk-nodejs-ims 4.1.37 → 4.1.66
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.
package/package.json
CHANGED
|
@@ -46,12 +46,10 @@ export interface ImageModerationRequest {
|
|
|
46
46
|
export interface RecognitionResult {
|
|
47
47
|
/**
|
|
48
48
|
* 当前可能的取值:Scene(图片场景模型)
|
|
49
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
50
49
|
*/
|
|
51
50
|
Label?: string;
|
|
52
51
|
/**
|
|
53
52
|
* Label对应模型下的识别标签信息
|
|
54
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
55
53
|
*/
|
|
56
54
|
Tags?: Array<RecognitionTag>;
|
|
57
55
|
}
|
|
@@ -102,13 +100,11 @@ export interface ObjectResult {
|
|
|
102
100
|
Score?: number;
|
|
103
101
|
/**
|
|
104
102
|
* 该标签用于返回所识别出的实体名称。
|
|
105
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
106
103
|
*/
|
|
107
104
|
Names?: Array<string>;
|
|
108
105
|
/**
|
|
109
106
|
* 该标签用于返回所识别出实体的详细信息,如:序号、命中标签名称、位置坐标等信息,详细返回内容敬请参考相应数据结构([ObjectDetail
|
|
110
107
|
](https://cloud.tencent.com/document/api/1125/53274#ObjectDetail))。
|
|
111
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
112
108
|
*/
|
|
113
109
|
Details?: Array<ObjectDetail>;
|
|
114
110
|
}
|
|
@@ -176,17 +172,14 @@ export interface CreateImageModerationAsyncTaskResponse {
|
|
|
176
172
|
export interface RecognitionTag {
|
|
177
173
|
/**
|
|
178
174
|
* 标签名称
|
|
179
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
180
175
|
*/
|
|
181
176
|
Name?: string;
|
|
182
177
|
/**
|
|
183
178
|
* 置信分:0~100,数值越大表示置信度越高
|
|
184
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
185
179
|
*/
|
|
186
180
|
Score?: number;
|
|
187
181
|
/**
|
|
188
182
|
* 标签位置信息,若模型无位置信息,则可能为零值
|
|
189
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
190
183
|
*/
|
|
191
184
|
Location?: Location;
|
|
192
185
|
}
|
|
@@ -220,7 +213,6 @@ export interface ObjectDetail {
|
|
|
220
213
|
SubLabel?: string;
|
|
221
214
|
/**
|
|
222
215
|
* 该参数用于返回命中的人脸id
|
|
223
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
224
216
|
*/
|
|
225
217
|
ObjectId?: string;
|
|
226
218
|
}
|
|
@@ -288,7 +280,6 @@ export interface OcrResult {
|
|
|
288
280
|
Score?: number;
|
|
289
281
|
/**
|
|
290
282
|
* 该字段用于返回OCR识别出的结果的详细内容,如:文本内容、对应标签、识别框位置等信息。
|
|
291
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
292
283
|
*/
|
|
293
284
|
Details?: Array<OcrTextDetail>;
|
|
294
285
|
/**
|
|
@@ -382,7 +373,6 @@ export interface LabelResult {
|
|
|
382
373
|
Score?: number;
|
|
383
374
|
/**
|
|
384
375
|
* 该字段用于返回分类模型命中子标签的详细信息,如:序号、命中标签名称、分数等信息。
|
|
385
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
386
376
|
*/
|
|
387
377
|
Details?: Array<LabelDetailItem>;
|
|
388
378
|
}
|
|
@@ -392,17 +382,14 @@ export interface LabelResult {
|
|
|
392
382
|
export interface LabelDetailItem {
|
|
393
383
|
/**
|
|
394
384
|
* 该字段用于返回识别对象的ID以方便识别和区分。
|
|
395
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
396
385
|
*/
|
|
397
386
|
Id?: number;
|
|
398
387
|
/**
|
|
399
|
-
*
|
|
400
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
388
|
+
* 该字段用于返回时命中的子标签名称。
|
|
401
389
|
*/
|
|
402
390
|
Name?: string;
|
|
403
391
|
/**
|
|
404
392
|
* 该字段用于返回对应子标签命中的分值,取值为**0-100**,如:*Porn-SexBehavior 99* 则代表相应识别内容命中色情-性行为标签的分值为99。
|
|
405
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
406
393
|
*/
|
|
407
394
|
Score?: number;
|
|
408
395
|
}
|
|
@@ -474,7 +461,6 @@ export interface LibResult {
|
|
|
474
461
|
Score?: number;
|
|
475
462
|
/**
|
|
476
463
|
* 该字段用于返回黑白库比对结果的详细信息,如:序号、库名称、恶意标签等信息;详细返回信息敬请参考对应数据结构([LibDetail](https://cloud.tencent.com/document/product/1125/53274#LibDetail))的描述文档
|
|
477
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
478
464
|
*/
|
|
479
465
|
Details?: Array<LibDetail>;
|
|
480
466
|
}
|