@huaweicloud/huaweicloud-sdk-image 3.1.35 → 3.1.37
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 +2 -2
- package/v2/ImageClient.d.ts +35 -34
- package/v2/ImageClient.js +88 -60
- package/v2/model/CreateVideoTaggingMediaTaskRequest.d.ts +6 -0
- package/v2/model/CreateVideoTaggingMediaTaskRequest.js +13 -0
- package/v2/model/CreateVideoTaggingMediaTaskRequestBody.d.ts +15 -0
- package/v2/model/CreateVideoTaggingMediaTaskRequestBody.js +27 -0
- package/v2/model/CreateVideoTaggingMediaTaskResponse.d.ts +12 -0
- package/v2/model/CreateVideoTaggingMediaTaskResponse.js +55 -0
- package/v2/model/ShowVideoTaggingMediaTaskRequest.d.ts +7 -0
- package/v2/model/ShowVideoTaggingMediaTaskRequest.js +24 -0
- package/v2/model/ShowVideoTaggingMediaTaskResponse.d.ts +34 -0
- package/v2/model/ShowVideoTaggingMediaTaskResponse.js +103 -0
- package/v2/model/VideoTaggingMediaTaskInput.d.ts +8 -0
- package/v2/model/VideoTaggingMediaTaskInput.js +19 -0
- package/v2/model/VideoTaggingMediaTaskInputData.d.ts +11 -0
- package/v2/model/VideoTaggingMediaTaskInputData.js +25 -0
- package/v2/model/VideoTaggingTaskConfig.d.ts +6 -0
- package/v2/model/VideoTaggingTaskConfig.js +13 -0
- package/v2/model/VideoTaggingTaskConfigCommon.d.ts +6 -0
- package/v2/model/VideoTaggingTaskConfigCommon.js +14 -0
- package/v2/model/VideoTagginginference.d.ts +41 -0
- package/v2/model/VideoTagginginference.js +120 -0
- package/v2/public-api.d.ts +10 -4
- package/v2/public-api.js +10 -4
- package/v2/model/RunDeleteCustomTagsRequest.d.ts +0 -3
- package/v2/model/RunDeleteCustomTagsRequest.js +0 -9
- package/v2/model/RunDeleteCustomTagsResponse.d.ts +0 -6
- package/v2/model/RunDeleteCustomTagsResponse.js +0 -31
- package/v2/model/RunQueryCustomTagsRequest.d.ts +0 -3
- package/v2/model/RunQueryCustomTagsRequest.js +0 -9
- package/v2/model/RunQueryCustomTagsResponse.d.ts +0 -6
- package/v2/model/RunQueryCustomTagsResponse.js +0 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huaweicloud/huaweicloud-sdk-image",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.37",
|
|
4
4
|
"description": "Huaweicloud SDK for image",
|
|
5
5
|
"main": "huaweicloud-sdk-image.js",
|
|
6
6
|
"typings": "huaweicloud-sdk-image.d.ts",
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
"author": "HuaweiCloud_SDK",
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@huaweicloud/huaweicloud-sdk-core": "^3.1.
|
|
17
|
+
"@huaweicloud/huaweicloud-sdk-core": "^3.1.37"
|
|
18
18
|
}
|
|
19
19
|
}
|
package/v2/ImageClient.d.ts
CHANGED
|
@@ -4,9 +4,10 @@ import { CreateImageHighresolutionMattingTaskRequest } from './model/CreateImage
|
|
|
4
4
|
import { CreateImageHighresolutionMattingTaskResponse } from './model/CreateImageHighresolutionMattingTaskResponse';
|
|
5
5
|
import { CreateVideoObjectMaskingTaskRequest } from './model/CreateVideoObjectMaskingTaskRequest';
|
|
6
6
|
import { CreateVideoObjectMaskingTaskResponse } from './model/CreateVideoObjectMaskingTaskResponse';
|
|
7
|
+
import { CreateVideoTaggingMediaTaskRequest } from './model/CreateVideoTaggingMediaTaskRequest';
|
|
8
|
+
import { CreateVideoTaggingMediaTaskResponse } from './model/CreateVideoTaggingMediaTaskResponse';
|
|
7
9
|
import { RunCelebrityRecognitionRequest } from './model/RunCelebrityRecognitionRequest';
|
|
8
10
|
import { RunCelebrityRecognitionResponse } from './model/RunCelebrityRecognitionResponse';
|
|
9
|
-
import { RunDeleteCustomTagsResponse } from './model/RunDeleteCustomTagsResponse';
|
|
10
11
|
import { RunImageDescriptionRequest } from './model/RunImageDescriptionRequest';
|
|
11
12
|
import { RunImageDescriptionResponse } from './model/RunImageDescriptionResponse';
|
|
12
13
|
import { RunImageMainObjectDetectionRequest } from './model/RunImageMainObjectDetectionRequest';
|
|
@@ -19,13 +20,14 @@ import { RunImageSuperResolutionRequest } from './model/RunImageSuperResolutionR
|
|
|
19
20
|
import { RunImageSuperResolutionResponse } from './model/RunImageSuperResolutionResponse';
|
|
20
21
|
import { RunImageTaggingRequest } from './model/RunImageTaggingRequest';
|
|
21
22
|
import { RunImageTaggingResponse } from './model/RunImageTaggingResponse';
|
|
22
|
-
import { RunQueryCustomTagsResponse } from './model/RunQueryCustomTagsResponse';
|
|
23
23
|
import { RunRecaptureDetectRequest } from './model/RunRecaptureDetectRequest';
|
|
24
24
|
import { RunRecaptureDetectResponse } from './model/RunRecaptureDetectResponse';
|
|
25
25
|
import { ShowImageHighresolutionMattingTaskRequest } from './model/ShowImageHighresolutionMattingTaskRequest';
|
|
26
26
|
import { ShowImageHighresolutionMattingTaskResponse } from './model/ShowImageHighresolutionMattingTaskResponse';
|
|
27
27
|
import { ShowVideoObjectMaskingTaskRequest } from './model/ShowVideoObjectMaskingTaskRequest';
|
|
28
28
|
import { ShowVideoObjectMaskingTaskResponse } from './model/ShowVideoObjectMaskingTaskResponse';
|
|
29
|
+
import { ShowVideoTaggingMediaTaskRequest } from './model/ShowVideoTaggingMediaTaskRequest';
|
|
30
|
+
import { ShowVideoTaggingMediaTaskResponse } from './model/ShowVideoTaggingMediaTaskResponse';
|
|
29
31
|
export declare class ImageClient {
|
|
30
32
|
static newBuilder(): ClientBuilder<ImageClient>;
|
|
31
33
|
private hcClient;
|
|
@@ -54,26 +56,27 @@ export declare class ImageClient {
|
|
|
54
56
|
*/
|
|
55
57
|
createVideoObjectMaskingTask(createVideoObjectMaskingTaskRequest?: CreateVideoObjectMaskingTaskRequest): Promise<CreateVideoObjectMaskingTaskResponse>;
|
|
56
58
|
/**
|
|
57
|
-
*
|
|
59
|
+
* 创建视频标签任务,输入一段视频,通过AI模型分析视频中的信息,输出视频所包含的媒资标签、名人标签、logo标签、语音标签、OCR标签等信息。
|
|
58
60
|
*
|
|
59
61
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
60
62
|
*
|
|
61
|
-
* @summary
|
|
62
|
-
* @param {
|
|
63
|
+
* @summary 创建视频标签任务
|
|
64
|
+
* @param {CreateVideoTaggingMediaTaskRequestBody} createVideoTaggingMediaTaskRequestBody 创建任务请求体
|
|
63
65
|
* @param {*} [options] Override http request option.
|
|
64
66
|
* @throws {RequiredError}
|
|
65
67
|
*/
|
|
66
|
-
|
|
68
|
+
createVideoTaggingMediaTask(createVideoTaggingMediaTaskRequest?: CreateVideoTaggingMediaTaskRequest): Promise<CreateVideoTaggingMediaTaskResponse>;
|
|
67
69
|
/**
|
|
68
|
-
*
|
|
70
|
+
* 分析并识别图片中包含的政治人物、明星及网红人物,返回人物信息及人脸坐标。
|
|
69
71
|
*
|
|
70
72
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
71
73
|
*
|
|
72
|
-
* @summary
|
|
74
|
+
* @summary 名人识别
|
|
75
|
+
* @param {CelebrityRecognitionReq} runCelebrityRecognitionRequestBody 名人识别接口请求体
|
|
73
76
|
* @param {*} [options] Override http request option.
|
|
74
77
|
* @throws {RequiredError}
|
|
75
78
|
*/
|
|
76
|
-
|
|
79
|
+
runCelebrityRecognition(runCelebrityRecognitionRequest?: RunCelebrityRecognitionRequest): Promise<RunCelebrityRecognitionResponse>;
|
|
77
80
|
/**
|
|
78
81
|
* 图像描述
|
|
79
82
|
*
|
|
@@ -140,16 +143,6 @@ export declare class ImageClient {
|
|
|
140
143
|
* @throws {RequiredError}
|
|
141
144
|
*/
|
|
142
145
|
runImageTagging(runImageTaggingRequest?: RunImageTaggingRequest): Promise<RunImageTaggingResponse>;
|
|
143
|
-
/**
|
|
144
|
-
* 用于用户自查是否存在自定义的标签。
|
|
145
|
-
*
|
|
146
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
147
|
-
*
|
|
148
|
-
* @summary 查询媒资图像标签
|
|
149
|
-
* @param {*} [options] Override http request option.
|
|
150
|
-
* @throws {RequiredError}
|
|
151
|
-
*/
|
|
152
|
-
runQueryCustomTags(): Promise<RunQueryCustomTagsResponse>;
|
|
153
146
|
/**
|
|
154
147
|
* 零售行业通常根据零售店的销售量进行销售奖励,拍摄售出商品的条形码上传后台是常用的统计方式。翻拍识别利用深度神经网络算法判断条形码图片为原始拍摄,还是经过二次翻拍、打印翻拍等手法二次处理的图片。利用翻拍识别,可以检测出经过二次处理的不合规范图片,使得统计数据更准确、有效。。
|
|
155
148
|
*
|
|
@@ -183,6 +176,17 @@ export declare class ImageClient {
|
|
|
183
176
|
* @throws {RequiredError}
|
|
184
177
|
*/
|
|
185
178
|
showVideoObjectMaskingTask(showVideoObjectMaskingTaskRequest?: ShowVideoObjectMaskingTaskRequest): Promise<ShowVideoObjectMaskingTaskResponse>;
|
|
179
|
+
/**
|
|
180
|
+
* 查询视频标签任务详情,返回参数配置以及任务状态信息。
|
|
181
|
+
*
|
|
182
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
183
|
+
*
|
|
184
|
+
* @summary 查询视频标签任务
|
|
185
|
+
* @param {string} taskId 任务id
|
|
186
|
+
* @param {*} [options] Override http request option.
|
|
187
|
+
* @throws {RequiredError}
|
|
188
|
+
*/
|
|
189
|
+
showVideoTaggingMediaTask(showVideoTaggingMediaTaskRequest?: ShowVideoTaggingMediaTaskRequest): Promise<ShowVideoTaggingMediaTaskResponse>;
|
|
186
190
|
}
|
|
187
191
|
export declare const ParamCreater: () => {
|
|
188
192
|
/**
|
|
@@ -214,11 +218,11 @@ export declare const ParamCreater: () => {
|
|
|
214
218
|
data: {};
|
|
215
219
|
};
|
|
216
220
|
/**
|
|
217
|
-
*
|
|
221
|
+
* 创建视频标签任务,输入一段视频,通过AI模型分析视频中的信息,输出视频所包含的媒资标签、名人标签、logo标签、语音标签、OCR标签等信息。
|
|
218
222
|
*
|
|
219
223
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
220
224
|
*/
|
|
221
|
-
|
|
225
|
+
createVideoTaggingMediaTask(createVideoTaggingMediaTaskRequest?: CreateVideoTaggingMediaTaskRequest): {
|
|
222
226
|
method: string;
|
|
223
227
|
url: string;
|
|
224
228
|
contentType: string;
|
|
@@ -228,11 +232,11 @@ export declare const ParamCreater: () => {
|
|
|
228
232
|
data: {};
|
|
229
233
|
};
|
|
230
234
|
/**
|
|
231
|
-
*
|
|
235
|
+
* 分析并识别图片中包含的政治人物、明星及网红人物,返回人物信息及人脸坐标。
|
|
232
236
|
*
|
|
233
237
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
234
238
|
*/
|
|
235
|
-
|
|
239
|
+
runCelebrityRecognition(runCelebrityRecognitionRequest?: RunCelebrityRecognitionRequest): {
|
|
236
240
|
method: string;
|
|
237
241
|
url: string;
|
|
238
242
|
contentType: string;
|
|
@@ -326,11 +330,11 @@ export declare const ParamCreater: () => {
|
|
|
326
330
|
data: {};
|
|
327
331
|
};
|
|
328
332
|
/**
|
|
329
|
-
*
|
|
333
|
+
* 零售行业通常根据零售店的销售量进行销售奖励,拍摄售出商品的条形码上传后台是常用的统计方式。翻拍识别利用深度神经网络算法判断条形码图片为原始拍摄,还是经过二次翻拍、打印翻拍等手法二次处理的图片。利用翻拍识别,可以检测出经过二次处理的不合规范图片,使得统计数据更准确、有效。。
|
|
330
334
|
*
|
|
331
335
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
332
336
|
*/
|
|
333
|
-
|
|
337
|
+
runRecaptureDetect(runRecaptureDetectRequest?: RunRecaptureDetectRequest): {
|
|
334
338
|
method: string;
|
|
335
339
|
url: string;
|
|
336
340
|
contentType: string;
|
|
@@ -340,46 +344,43 @@ export declare const ParamCreater: () => {
|
|
|
340
344
|
data: {};
|
|
341
345
|
};
|
|
342
346
|
/**
|
|
343
|
-
*
|
|
347
|
+
* 查询图像高清抠图任务,返回参数配置以及任务状态信息。
|
|
344
348
|
*
|
|
345
349
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
346
350
|
*/
|
|
347
|
-
|
|
351
|
+
showImageHighresolutionMattingTask(showImageHighresolutionMattingTaskRequest?: ShowImageHighresolutionMattingTaskRequest): {
|
|
348
352
|
method: string;
|
|
349
353
|
url: string;
|
|
350
354
|
contentType: string;
|
|
351
355
|
queryParams: {};
|
|
352
356
|
pathParams: {};
|
|
353
357
|
headers: {};
|
|
354
|
-
data: {};
|
|
355
358
|
};
|
|
356
359
|
/**
|
|
357
|
-
*
|
|
360
|
+
* show task
|
|
358
361
|
*
|
|
359
362
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
360
363
|
*/
|
|
361
|
-
|
|
364
|
+
showVideoObjectMaskingTask(showVideoObjectMaskingTaskRequest?: ShowVideoObjectMaskingTaskRequest): {
|
|
362
365
|
method: string;
|
|
363
366
|
url: string;
|
|
364
367
|
contentType: string;
|
|
365
368
|
queryParams: {};
|
|
366
369
|
pathParams: {};
|
|
367
370
|
headers: {};
|
|
368
|
-
data: {};
|
|
369
371
|
};
|
|
370
372
|
/**
|
|
371
|
-
*
|
|
373
|
+
* 查询视频标签任务详情,返回参数配置以及任务状态信息。
|
|
372
374
|
*
|
|
373
375
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
374
376
|
*/
|
|
375
|
-
|
|
377
|
+
showVideoTaggingMediaTask(showVideoTaggingMediaTaskRequest?: ShowVideoTaggingMediaTaskRequest): {
|
|
376
378
|
method: string;
|
|
377
379
|
url: string;
|
|
378
380
|
contentType: string;
|
|
379
381
|
queryParams: {};
|
|
380
382
|
pathParams: {};
|
|
381
383
|
headers: {};
|
|
382
|
-
data: {};
|
|
383
384
|
};
|
|
384
385
|
};
|
|
385
386
|
/**
|
package/v2/ImageClient.js
CHANGED
|
@@ -19,6 +19,7 @@ exports.RequiredError = exports.ParamCreater = exports.ImageClient = void 0;
|
|
|
19
19
|
var ClientBuilder_1 = require("@huaweicloud/huaweicloud-sdk-core/ClientBuilder");
|
|
20
20
|
var CreateImageHighresolutionMattingTaskRequest_1 = require("./model/CreateImageHighresolutionMattingTaskRequest");
|
|
21
21
|
var CreateVideoObjectMaskingTaskRequest_1 = require("./model/CreateVideoObjectMaskingTaskRequest");
|
|
22
|
+
var CreateVideoTaggingMediaTaskRequest_1 = require("./model/CreateVideoTaggingMediaTaskRequest");
|
|
22
23
|
var RunCelebrityRecognitionRequest_1 = require("./model/RunCelebrityRecognitionRequest");
|
|
23
24
|
var RunImageDescriptionRequest_1 = require("./model/RunImageDescriptionRequest");
|
|
24
25
|
var RunImageMainObjectDetectionRequest_1 = require("./model/RunImageMainObjectDetectionRequest");
|
|
@@ -29,6 +30,7 @@ var RunImageTaggingRequest_1 = require("./model/RunImageTaggingRequest");
|
|
|
29
30
|
var RunRecaptureDetectRequest_1 = require("./model/RunRecaptureDetectRequest");
|
|
30
31
|
var ShowImageHighresolutionMattingTaskRequest_1 = require("./model/ShowImageHighresolutionMattingTaskRequest");
|
|
31
32
|
var ShowVideoObjectMaskingTaskRequest_1 = require("./model/ShowVideoObjectMaskingTaskRequest");
|
|
33
|
+
var ShowVideoTaggingMediaTaskRequest_1 = require("./model/ShowVideoTaggingMediaTaskRequest");
|
|
32
34
|
var ImageClient = /** @class */ (function () {
|
|
33
35
|
function ImageClient(client) {
|
|
34
36
|
this.hcClient = client;
|
|
@@ -72,32 +74,33 @@ var ImageClient = /** @class */ (function () {
|
|
|
72
74
|
return this.hcClient.sendRequest(options);
|
|
73
75
|
};
|
|
74
76
|
/**
|
|
75
|
-
*
|
|
77
|
+
* 创建视频标签任务,输入一段视频,通过AI模型分析视频中的信息,输出视频所包含的媒资标签、名人标签、logo标签、语音标签、OCR标签等信息。
|
|
76
78
|
*
|
|
77
79
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
78
80
|
*
|
|
79
|
-
* @summary
|
|
80
|
-
* @param {
|
|
81
|
+
* @summary 创建视频标签任务
|
|
82
|
+
* @param {CreateVideoTaggingMediaTaskRequestBody} createVideoTaggingMediaTaskRequestBody 创建任务请求体
|
|
81
83
|
* @param {*} [options] Override http request option.
|
|
82
84
|
* @throws {RequiredError}
|
|
83
85
|
*/
|
|
84
|
-
ImageClient.prototype.
|
|
85
|
-
var options = (0, exports.ParamCreater)().
|
|
86
|
+
ImageClient.prototype.createVideoTaggingMediaTask = function (createVideoTaggingMediaTaskRequest) {
|
|
87
|
+
var options = (0, exports.ParamCreater)().createVideoTaggingMediaTask(createVideoTaggingMediaTaskRequest);
|
|
86
88
|
// @ts-ignore
|
|
87
|
-
options['responseHeaders'] = [''];
|
|
89
|
+
options['responseHeaders'] = ['X-request-id'];
|
|
88
90
|
return this.hcClient.sendRequest(options);
|
|
89
91
|
};
|
|
90
92
|
/**
|
|
91
|
-
*
|
|
93
|
+
* 分析并识别图片中包含的政治人物、明星及网红人物,返回人物信息及人脸坐标。
|
|
92
94
|
*
|
|
93
95
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
94
96
|
*
|
|
95
|
-
* @summary
|
|
97
|
+
* @summary 名人识别
|
|
98
|
+
* @param {CelebrityRecognitionReq} runCelebrityRecognitionRequestBody 名人识别接口请求体
|
|
96
99
|
* @param {*} [options] Override http request option.
|
|
97
100
|
* @throws {RequiredError}
|
|
98
101
|
*/
|
|
99
|
-
ImageClient.prototype.
|
|
100
|
-
var options = (0, exports.ParamCreater)().
|
|
102
|
+
ImageClient.prototype.runCelebrityRecognition = function (runCelebrityRecognitionRequest) {
|
|
103
|
+
var options = (0, exports.ParamCreater)().runCelebrityRecognition(runCelebrityRecognitionRequest);
|
|
101
104
|
// @ts-ignore
|
|
102
105
|
options['responseHeaders'] = [''];
|
|
103
106
|
return this.hcClient.sendRequest(options);
|
|
@@ -198,21 +201,6 @@ var ImageClient = /** @class */ (function () {
|
|
|
198
201
|
options['responseHeaders'] = [''];
|
|
199
202
|
return this.hcClient.sendRequest(options);
|
|
200
203
|
};
|
|
201
|
-
/**
|
|
202
|
-
* 用于用户自查是否存在自定义的标签。
|
|
203
|
-
*
|
|
204
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
205
|
-
*
|
|
206
|
-
* @summary 查询媒资图像标签
|
|
207
|
-
* @param {*} [options] Override http request option.
|
|
208
|
-
* @throws {RequiredError}
|
|
209
|
-
*/
|
|
210
|
-
ImageClient.prototype.runQueryCustomTags = function () {
|
|
211
|
-
var options = (0, exports.ParamCreater)().runQueryCustomTags();
|
|
212
|
-
// @ts-ignore
|
|
213
|
-
options['responseHeaders'] = [''];
|
|
214
|
-
return this.hcClient.sendRequest(options);
|
|
215
|
-
};
|
|
216
204
|
/**
|
|
217
205
|
* 零售行业通常根据零售店的销售量进行销售奖励,拍摄售出商品的条形码上传后台是常用的统计方式。翻拍识别利用深度神经网络算法判断条形码图片为原始拍摄,还是经过二次翻拍、打印翻拍等手法二次处理的图片。利用翻拍识别,可以检测出经过二次处理的不合规范图片,使得统计数据更准确、有效。。
|
|
218
206
|
*
|
|
@@ -261,6 +249,22 @@ var ImageClient = /** @class */ (function () {
|
|
|
261
249
|
options['responseHeaders'] = ['X-request-id'];
|
|
262
250
|
return this.hcClient.sendRequest(options);
|
|
263
251
|
};
|
|
252
|
+
/**
|
|
253
|
+
* 查询视频标签任务详情,返回参数配置以及任务状态信息。
|
|
254
|
+
*
|
|
255
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
256
|
+
*
|
|
257
|
+
* @summary 查询视频标签任务
|
|
258
|
+
* @param {string} taskId 任务id
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
ImageClient.prototype.showVideoTaggingMediaTask = function (showVideoTaggingMediaTaskRequest) {
|
|
263
|
+
var options = (0, exports.ParamCreater)().showVideoTaggingMediaTask(showVideoTaggingMediaTaskRequest);
|
|
264
|
+
// @ts-ignore
|
|
265
|
+
options['responseHeaders'] = ['X-request-id'];
|
|
266
|
+
return this.hcClient.sendRequest(options);
|
|
267
|
+
};
|
|
264
268
|
return ImageClient;
|
|
265
269
|
}());
|
|
266
270
|
exports.ImageClient = ImageClient;
|
|
@@ -333,14 +337,14 @@ var ParamCreater = function () {
|
|
|
333
337
|
return options;
|
|
334
338
|
},
|
|
335
339
|
/**
|
|
336
|
-
*
|
|
340
|
+
* 创建视频标签任务,输入一段视频,通过AI模型分析视频中的信息,输出视频所包含的媒资标签、名人标签、logo标签、语音标签、OCR标签等信息。
|
|
337
341
|
*
|
|
338
342
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
339
343
|
*/
|
|
340
|
-
|
|
344
|
+
createVideoTaggingMediaTask: function (createVideoTaggingMediaTaskRequest) {
|
|
341
345
|
var options = {
|
|
342
346
|
method: "POST",
|
|
343
|
-
url: "/v2/{project_id}/image/
|
|
347
|
+
url: "/v2/{project_id}/image/video-tagging-media/tasks",
|
|
344
348
|
contentType: "application/json;charset=UTF-8",
|
|
345
349
|
queryParams: {},
|
|
346
350
|
pathParams: {},
|
|
@@ -349,12 +353,12 @@ var ParamCreater = function () {
|
|
|
349
353
|
};
|
|
350
354
|
var localVarHeaderParameter = {};
|
|
351
355
|
var body;
|
|
352
|
-
if (
|
|
353
|
-
if (
|
|
354
|
-
body =
|
|
356
|
+
if (createVideoTaggingMediaTaskRequest !== null && createVideoTaggingMediaTaskRequest !== undefined) {
|
|
357
|
+
if (createVideoTaggingMediaTaskRequest instanceof CreateVideoTaggingMediaTaskRequest_1.CreateVideoTaggingMediaTaskRequest) {
|
|
358
|
+
body = createVideoTaggingMediaTaskRequest.body;
|
|
355
359
|
}
|
|
356
360
|
else {
|
|
357
|
-
body =
|
|
361
|
+
body = createVideoTaggingMediaTaskRequest['body'];
|
|
358
362
|
}
|
|
359
363
|
}
|
|
360
364
|
if (body === null || body === undefined) {
|
|
@@ -366,21 +370,35 @@ var ParamCreater = function () {
|
|
|
366
370
|
return options;
|
|
367
371
|
},
|
|
368
372
|
/**
|
|
369
|
-
*
|
|
373
|
+
* 分析并识别图片中包含的政治人物、明星及网红人物,返回人物信息及人脸坐标。
|
|
370
374
|
*
|
|
371
375
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
372
376
|
*/
|
|
373
|
-
|
|
377
|
+
runCelebrityRecognition: function (runCelebrityRecognitionRequest) {
|
|
374
378
|
var options = {
|
|
375
|
-
method: "
|
|
376
|
-
url: "/v2/{project_id}/image/
|
|
377
|
-
contentType: "application/json",
|
|
379
|
+
method: "POST",
|
|
380
|
+
url: "/v2/{project_id}/image/celebrity-recognition",
|
|
381
|
+
contentType: "application/json;charset=UTF-8",
|
|
378
382
|
queryParams: {},
|
|
379
383
|
pathParams: {},
|
|
380
384
|
headers: {},
|
|
381
385
|
data: {}
|
|
382
386
|
};
|
|
383
387
|
var localVarHeaderParameter = {};
|
|
388
|
+
var body;
|
|
389
|
+
if (runCelebrityRecognitionRequest !== null && runCelebrityRecognitionRequest !== undefined) {
|
|
390
|
+
if (runCelebrityRecognitionRequest instanceof RunCelebrityRecognitionRequest_1.RunCelebrityRecognitionRequest) {
|
|
391
|
+
body = runCelebrityRecognitionRequest.body;
|
|
392
|
+
}
|
|
393
|
+
else {
|
|
394
|
+
body = runCelebrityRecognitionRequest['body'];
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
if (body === null || body === undefined) {
|
|
398
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
399
|
+
}
|
|
400
|
+
localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
|
|
401
|
+
options.data = body !== undefined ? body : {};
|
|
384
402
|
options.headers = localVarHeaderParameter;
|
|
385
403
|
return options;
|
|
386
404
|
},
|
|
@@ -582,25 +600,6 @@ var ParamCreater = function () {
|
|
|
582
600
|
options.headers = localVarHeaderParameter;
|
|
583
601
|
return options;
|
|
584
602
|
},
|
|
585
|
-
/**
|
|
586
|
-
* 用于用户自查是否存在自定义的标签。
|
|
587
|
-
*
|
|
588
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
589
|
-
*/
|
|
590
|
-
runQueryCustomTags: function () {
|
|
591
|
-
var options = {
|
|
592
|
-
method: "GET",
|
|
593
|
-
url: "/v2/{project_id}/image/media-tagging/custom-tags/check",
|
|
594
|
-
contentType: "application/json",
|
|
595
|
-
queryParams: {},
|
|
596
|
-
pathParams: {},
|
|
597
|
-
headers: {},
|
|
598
|
-
data: {}
|
|
599
|
-
};
|
|
600
|
-
var localVarHeaderParameter = {};
|
|
601
|
-
options.headers = localVarHeaderParameter;
|
|
602
|
-
return options;
|
|
603
|
-
},
|
|
604
603
|
/**
|
|
605
604
|
* 零售行业通常根据零售店的销售量进行销售奖励,拍摄售出商品的条形码上传后台是常用的统计方式。翻拍识别利用深度神经网络算法判断条形码图片为原始拍摄,还是经过二次翻拍、打印翻拍等手法二次处理的图片。利用翻拍识别,可以检测出经过二次处理的不合规范图片,使得统计数据更准确、有效。。
|
|
606
605
|
*
|
|
@@ -646,8 +645,7 @@ var ParamCreater = function () {
|
|
|
646
645
|
contentType: "application/json",
|
|
647
646
|
queryParams: {},
|
|
648
647
|
pathParams: {},
|
|
649
|
-
headers: {}
|
|
650
|
-
data: {}
|
|
648
|
+
headers: {}
|
|
651
649
|
};
|
|
652
650
|
var localVarHeaderParameter = {};
|
|
653
651
|
var taskId;
|
|
@@ -678,8 +676,7 @@ var ParamCreater = function () {
|
|
|
678
676
|
contentType: "application/json",
|
|
679
677
|
queryParams: {},
|
|
680
678
|
pathParams: {},
|
|
681
|
-
headers: {}
|
|
682
|
-
data: {}
|
|
679
|
+
headers: {}
|
|
683
680
|
};
|
|
684
681
|
var localVarHeaderParameter = {};
|
|
685
682
|
var taskId;
|
|
@@ -698,6 +695,37 @@ var ParamCreater = function () {
|
|
|
698
695
|
options.headers = localVarHeaderParameter;
|
|
699
696
|
return options;
|
|
700
697
|
},
|
|
698
|
+
/**
|
|
699
|
+
* 查询视频标签任务详情,返回参数配置以及任务状态信息。
|
|
700
|
+
*
|
|
701
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
702
|
+
*/
|
|
703
|
+
showVideoTaggingMediaTask: function (showVideoTaggingMediaTaskRequest) {
|
|
704
|
+
var options = {
|
|
705
|
+
method: "GET",
|
|
706
|
+
url: "/v2/{project_id}/image/video-tagging-media/tasks/{task_id}",
|
|
707
|
+
contentType: "application/json",
|
|
708
|
+
queryParams: {},
|
|
709
|
+
pathParams: {},
|
|
710
|
+
headers: {}
|
|
711
|
+
};
|
|
712
|
+
var localVarHeaderParameter = {};
|
|
713
|
+
var taskId;
|
|
714
|
+
if (showVideoTaggingMediaTaskRequest !== null && showVideoTaggingMediaTaskRequest !== undefined) {
|
|
715
|
+
if (showVideoTaggingMediaTaskRequest instanceof ShowVideoTaggingMediaTaskRequest_1.ShowVideoTaggingMediaTaskRequest) {
|
|
716
|
+
taskId = showVideoTaggingMediaTaskRequest.taskId;
|
|
717
|
+
}
|
|
718
|
+
else {
|
|
719
|
+
taskId = showVideoTaggingMediaTaskRequest['task_id'];
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
if (taskId === null || taskId === undefined) {
|
|
723
|
+
throw new RequiredError('taskId', 'Required parameter taskId was null or undefined when calling showVideoTaggingMediaTask.');
|
|
724
|
+
}
|
|
725
|
+
options.pathParams = { 'task_id': taskId, };
|
|
726
|
+
options.headers = localVarHeaderParameter;
|
|
727
|
+
return options;
|
|
728
|
+
},
|
|
701
729
|
};
|
|
702
730
|
};
|
|
703
731
|
exports.ParamCreater = ParamCreater;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CreateVideoTaggingMediaTaskRequestBody } from './CreateVideoTaggingMediaTaskRequestBody';
|
|
2
|
+
export declare class CreateVideoTaggingMediaTaskRequest {
|
|
3
|
+
body?: CreateVideoTaggingMediaTaskRequestBody;
|
|
4
|
+
constructor();
|
|
5
|
+
withBody(body: CreateVideoTaggingMediaTaskRequestBody): CreateVideoTaggingMediaTaskRequest;
|
|
6
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateVideoTaggingMediaTaskRequest = void 0;
|
|
4
|
+
var CreateVideoTaggingMediaTaskRequest = /** @class */ (function () {
|
|
5
|
+
function CreateVideoTaggingMediaTaskRequest() {
|
|
6
|
+
}
|
|
7
|
+
CreateVideoTaggingMediaTaskRequest.prototype.withBody = function (body) {
|
|
8
|
+
this['body'] = body;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
return CreateVideoTaggingMediaTaskRequest;
|
|
12
|
+
}());
|
|
13
|
+
exports.CreateVideoTaggingMediaTaskRequest = CreateVideoTaggingMediaTaskRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TaskCallback } from './TaskCallback';
|
|
2
|
+
import { TaskOutput } from './TaskOutput';
|
|
3
|
+
import { VideoTaggingMediaTaskInput } from './VideoTaggingMediaTaskInput';
|
|
4
|
+
import { VideoTaggingTaskConfig } from './VideoTaggingTaskConfig';
|
|
5
|
+
export declare class CreateVideoTaggingMediaTaskRequestBody {
|
|
6
|
+
input: VideoTaggingMediaTaskInput;
|
|
7
|
+
output: TaskOutput;
|
|
8
|
+
callback?: TaskCallback;
|
|
9
|
+
config?: VideoTaggingTaskConfig;
|
|
10
|
+
constructor(input?: any, output?: any);
|
|
11
|
+
withInput(input: VideoTaggingMediaTaskInput): CreateVideoTaggingMediaTaskRequestBody;
|
|
12
|
+
withOutput(output: TaskOutput): CreateVideoTaggingMediaTaskRequestBody;
|
|
13
|
+
withCallback(callback: TaskCallback): CreateVideoTaggingMediaTaskRequestBody;
|
|
14
|
+
withConfig(config: VideoTaggingTaskConfig): CreateVideoTaggingMediaTaskRequestBody;
|
|
15
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateVideoTaggingMediaTaskRequestBody = void 0;
|
|
4
|
+
var CreateVideoTaggingMediaTaskRequestBody = /** @class */ (function () {
|
|
5
|
+
function CreateVideoTaggingMediaTaskRequestBody(input, output) {
|
|
6
|
+
this['input'] = input;
|
|
7
|
+
this['output'] = output;
|
|
8
|
+
}
|
|
9
|
+
CreateVideoTaggingMediaTaskRequestBody.prototype.withInput = function (input) {
|
|
10
|
+
this['input'] = input;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
CreateVideoTaggingMediaTaskRequestBody.prototype.withOutput = function (output) {
|
|
14
|
+
this['output'] = output;
|
|
15
|
+
return this;
|
|
16
|
+
};
|
|
17
|
+
CreateVideoTaggingMediaTaskRequestBody.prototype.withCallback = function (callback) {
|
|
18
|
+
this['callback'] = callback;
|
|
19
|
+
return this;
|
|
20
|
+
};
|
|
21
|
+
CreateVideoTaggingMediaTaskRequestBody.prototype.withConfig = function (config) {
|
|
22
|
+
this['config'] = config;
|
|
23
|
+
return this;
|
|
24
|
+
};
|
|
25
|
+
return CreateVideoTaggingMediaTaskRequestBody;
|
|
26
|
+
}());
|
|
27
|
+
exports.CreateVideoTaggingMediaTaskRequestBody = CreateVideoTaggingMediaTaskRequestBody;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class CreateVideoTaggingMediaTaskResponse extends SdkResponse {
|
|
3
|
+
private 'task_id'?;
|
|
4
|
+
private 'X-request-id'?;
|
|
5
|
+
constructor();
|
|
6
|
+
withTaskId(taskId: string): CreateVideoTaggingMediaTaskResponse;
|
|
7
|
+
set taskId(taskId: string | undefined);
|
|
8
|
+
get taskId(): string | undefined;
|
|
9
|
+
withXRequestId(xRequestId: string): CreateVideoTaggingMediaTaskResponse;
|
|
10
|
+
set xRequestId(xRequestId: string | undefined);
|
|
11
|
+
get xRequestId(): string | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.CreateVideoTaggingMediaTaskResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var CreateVideoTaggingMediaTaskResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(CreateVideoTaggingMediaTaskResponse, _super);
|
|
22
|
+
function CreateVideoTaggingMediaTaskResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
CreateVideoTaggingMediaTaskResponse.prototype.withTaskId = function (taskId) {
|
|
26
|
+
this['task_id'] = taskId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(CreateVideoTaggingMediaTaskResponse.prototype, "taskId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['task_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (taskId) {
|
|
34
|
+
this['task_id'] = taskId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
CreateVideoTaggingMediaTaskResponse.prototype.withXRequestId = function (xRequestId) {
|
|
40
|
+
this['X-request-id'] = xRequestId;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(CreateVideoTaggingMediaTaskResponse.prototype, "xRequestId", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['X-request-id'];
|
|
46
|
+
},
|
|
47
|
+
set: function (xRequestId) {
|
|
48
|
+
this['X-request-id'] = xRequestId;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
return CreateVideoTaggingMediaTaskResponse;
|
|
54
|
+
}(SdkResponse_1.SdkResponse));
|
|
55
|
+
exports.CreateVideoTaggingMediaTaskResponse = CreateVideoTaggingMediaTaskResponse;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShowVideoTaggingMediaTaskRequest = void 0;
|
|
4
|
+
var ShowVideoTaggingMediaTaskRequest = /** @class */ (function () {
|
|
5
|
+
function ShowVideoTaggingMediaTaskRequest(taskId) {
|
|
6
|
+
this['task_id'] = taskId;
|
|
7
|
+
}
|
|
8
|
+
ShowVideoTaggingMediaTaskRequest.prototype.withTaskId = function (taskId) {
|
|
9
|
+
this['task_id'] = taskId;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(ShowVideoTaggingMediaTaskRequest.prototype, "taskId", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return this['task_id'];
|
|
15
|
+
},
|
|
16
|
+
set: function (taskId) {
|
|
17
|
+
this['task_id'] = taskId;
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
return ShowVideoTaggingMediaTaskRequest;
|
|
23
|
+
}());
|
|
24
|
+
exports.ShowVideoTaggingMediaTaskRequest = ShowVideoTaggingMediaTaskRequest;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { TaskCallback } from './TaskCallback';
|
|
2
|
+
import { TaskOutput } from './TaskOutput';
|
|
3
|
+
import { VideoTaggingMediaTaskInput } from './VideoTaggingMediaTaskInput';
|
|
4
|
+
import { VideoTaggingTaskConfig } from './VideoTaggingTaskConfig';
|
|
5
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
6
|
+
export declare class ShowVideoTaggingMediaTaskResponse extends SdkResponse {
|
|
7
|
+
private 'task_id'?;
|
|
8
|
+
private 'create_time'?;
|
|
9
|
+
private 'update_time'?;
|
|
10
|
+
state?: string;
|
|
11
|
+
input?: VideoTaggingMediaTaskInput;
|
|
12
|
+
output?: TaskOutput;
|
|
13
|
+
config?: VideoTaggingTaskConfig;
|
|
14
|
+
callback?: TaskCallback;
|
|
15
|
+
private 'X-request-id'?;
|
|
16
|
+
constructor();
|
|
17
|
+
withTaskId(taskId: string): ShowVideoTaggingMediaTaskResponse;
|
|
18
|
+
set taskId(taskId: string | undefined);
|
|
19
|
+
get taskId(): string | undefined;
|
|
20
|
+
withCreateTime(createTime: string): ShowVideoTaggingMediaTaskResponse;
|
|
21
|
+
set createTime(createTime: string | undefined);
|
|
22
|
+
get createTime(): string | undefined;
|
|
23
|
+
withUpdateTime(updateTime: string): ShowVideoTaggingMediaTaskResponse;
|
|
24
|
+
set updateTime(updateTime: string | undefined);
|
|
25
|
+
get updateTime(): string | undefined;
|
|
26
|
+
withState(state: string): ShowVideoTaggingMediaTaskResponse;
|
|
27
|
+
withInput(input: VideoTaggingMediaTaskInput): ShowVideoTaggingMediaTaskResponse;
|
|
28
|
+
withOutput(output: TaskOutput): ShowVideoTaggingMediaTaskResponse;
|
|
29
|
+
withConfig(config: VideoTaggingTaskConfig): ShowVideoTaggingMediaTaskResponse;
|
|
30
|
+
withCallback(callback: TaskCallback): ShowVideoTaggingMediaTaskResponse;
|
|
31
|
+
withXRequestId(xRequestId: string): ShowVideoTaggingMediaTaskResponse;
|
|
32
|
+
set xRequestId(xRequestId: string | undefined);
|
|
33
|
+
get xRequestId(): string | undefined;
|
|
34
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ShowVideoTaggingMediaTaskResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ShowVideoTaggingMediaTaskResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ShowVideoTaggingMediaTaskResponse, _super);
|
|
22
|
+
function ShowVideoTaggingMediaTaskResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ShowVideoTaggingMediaTaskResponse.prototype.withTaskId = function (taskId) {
|
|
26
|
+
this['task_id'] = taskId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(ShowVideoTaggingMediaTaskResponse.prototype, "taskId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['task_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (taskId) {
|
|
34
|
+
this['task_id'] = taskId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
ShowVideoTaggingMediaTaskResponse.prototype.withCreateTime = function (createTime) {
|
|
40
|
+
this['create_time'] = createTime;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(ShowVideoTaggingMediaTaskResponse.prototype, "createTime", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['create_time'];
|
|
46
|
+
},
|
|
47
|
+
set: function (createTime) {
|
|
48
|
+
this['create_time'] = createTime;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
ShowVideoTaggingMediaTaskResponse.prototype.withUpdateTime = function (updateTime) {
|
|
54
|
+
this['update_time'] = updateTime;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(ShowVideoTaggingMediaTaskResponse.prototype, "updateTime", {
|
|
58
|
+
get: function () {
|
|
59
|
+
return this['update_time'];
|
|
60
|
+
},
|
|
61
|
+
set: function (updateTime) {
|
|
62
|
+
this['update_time'] = updateTime;
|
|
63
|
+
},
|
|
64
|
+
enumerable: false,
|
|
65
|
+
configurable: true
|
|
66
|
+
});
|
|
67
|
+
ShowVideoTaggingMediaTaskResponse.prototype.withState = function (state) {
|
|
68
|
+
this['state'] = state;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
ShowVideoTaggingMediaTaskResponse.prototype.withInput = function (input) {
|
|
72
|
+
this['input'] = input;
|
|
73
|
+
return this;
|
|
74
|
+
};
|
|
75
|
+
ShowVideoTaggingMediaTaskResponse.prototype.withOutput = function (output) {
|
|
76
|
+
this['output'] = output;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
ShowVideoTaggingMediaTaskResponse.prototype.withConfig = function (config) {
|
|
80
|
+
this['config'] = config;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
ShowVideoTaggingMediaTaskResponse.prototype.withCallback = function (callback) {
|
|
84
|
+
this['callback'] = callback;
|
|
85
|
+
return this;
|
|
86
|
+
};
|
|
87
|
+
ShowVideoTaggingMediaTaskResponse.prototype.withXRequestId = function (xRequestId) {
|
|
88
|
+
this['X-request-id'] = xRequestId;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
Object.defineProperty(ShowVideoTaggingMediaTaskResponse.prototype, "xRequestId", {
|
|
92
|
+
get: function () {
|
|
93
|
+
return this['X-request-id'];
|
|
94
|
+
},
|
|
95
|
+
set: function (xRequestId) {
|
|
96
|
+
this['X-request-id'] = xRequestId;
|
|
97
|
+
},
|
|
98
|
+
enumerable: false,
|
|
99
|
+
configurable: true
|
|
100
|
+
});
|
|
101
|
+
return ShowVideoTaggingMediaTaskResponse;
|
|
102
|
+
}(SdkResponse_1.SdkResponse));
|
|
103
|
+
exports.ShowVideoTaggingMediaTaskResponse = ShowVideoTaggingMediaTaskResponse;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VideoTaggingMediaTaskInputData } from './VideoTaggingMediaTaskInputData';
|
|
2
|
+
export declare class VideoTaggingMediaTaskInput {
|
|
3
|
+
type: string;
|
|
4
|
+
data: Array<VideoTaggingMediaTaskInputData>;
|
|
5
|
+
constructor(type?: any, data?: any);
|
|
6
|
+
withType(type: string): VideoTaggingMediaTaskInput;
|
|
7
|
+
withData(data: Array<VideoTaggingMediaTaskInputData>): VideoTaggingMediaTaskInput;
|
|
8
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VideoTaggingMediaTaskInput = void 0;
|
|
4
|
+
var VideoTaggingMediaTaskInput = /** @class */ (function () {
|
|
5
|
+
function VideoTaggingMediaTaskInput(type, data) {
|
|
6
|
+
this['type'] = type;
|
|
7
|
+
this['data'] = data;
|
|
8
|
+
}
|
|
9
|
+
VideoTaggingMediaTaskInput.prototype.withType = function (type) {
|
|
10
|
+
this['type'] = type;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
VideoTaggingMediaTaskInput.prototype.withData = function (data) {
|
|
14
|
+
this['data'] = data;
|
|
15
|
+
return this;
|
|
16
|
+
};
|
|
17
|
+
return VideoTaggingMediaTaskInput;
|
|
18
|
+
}());
|
|
19
|
+
exports.VideoTaggingMediaTaskInput = VideoTaggingMediaTaskInput;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class VideoTaggingMediaTaskInputData {
|
|
2
|
+
bucket?: string;
|
|
3
|
+
path?: string;
|
|
4
|
+
url?: string;
|
|
5
|
+
key?: string;
|
|
6
|
+
constructor();
|
|
7
|
+
withBucket(bucket: string): VideoTaggingMediaTaskInputData;
|
|
8
|
+
withPath(path: string): VideoTaggingMediaTaskInputData;
|
|
9
|
+
withUrl(url: string): VideoTaggingMediaTaskInputData;
|
|
10
|
+
withKey(key: string): VideoTaggingMediaTaskInputData;
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VideoTaggingMediaTaskInputData = void 0;
|
|
4
|
+
var VideoTaggingMediaTaskInputData = /** @class */ (function () {
|
|
5
|
+
function VideoTaggingMediaTaskInputData() {
|
|
6
|
+
}
|
|
7
|
+
VideoTaggingMediaTaskInputData.prototype.withBucket = function (bucket) {
|
|
8
|
+
this['bucket'] = bucket;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
VideoTaggingMediaTaskInputData.prototype.withPath = function (path) {
|
|
12
|
+
this['path'] = path;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
VideoTaggingMediaTaskInputData.prototype.withUrl = function (url) {
|
|
16
|
+
this['url'] = url;
|
|
17
|
+
return this;
|
|
18
|
+
};
|
|
19
|
+
VideoTaggingMediaTaskInputData.prototype.withKey = function (key) {
|
|
20
|
+
this['key'] = key;
|
|
21
|
+
return this;
|
|
22
|
+
};
|
|
23
|
+
return VideoTaggingMediaTaskInputData;
|
|
24
|
+
}());
|
|
25
|
+
exports.VideoTaggingMediaTaskInputData = VideoTaggingMediaTaskInputData;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VideoTaggingTaskConfig = void 0;
|
|
4
|
+
var VideoTaggingTaskConfig = /** @class */ (function () {
|
|
5
|
+
function VideoTaggingTaskConfig() {
|
|
6
|
+
}
|
|
7
|
+
VideoTaggingTaskConfig.prototype.withCommon = function (common) {
|
|
8
|
+
this['common'] = common;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
return VideoTaggingTaskConfig;
|
|
12
|
+
}());
|
|
13
|
+
exports.VideoTaggingTaskConfig = VideoTaggingTaskConfig;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { VideoTagginginference } from './VideoTagginginference';
|
|
2
|
+
export declare class VideoTaggingTaskConfigCommon {
|
|
3
|
+
inference: VideoTagginginference;
|
|
4
|
+
constructor(inference?: any);
|
|
5
|
+
withInference(inference: VideoTagginginference): VideoTaggingTaskConfigCommon;
|
|
6
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VideoTaggingTaskConfigCommon = void 0;
|
|
4
|
+
var VideoTaggingTaskConfigCommon = /** @class */ (function () {
|
|
5
|
+
function VideoTaggingTaskConfigCommon(inference) {
|
|
6
|
+
this['inference'] = inference;
|
|
7
|
+
}
|
|
8
|
+
VideoTaggingTaskConfigCommon.prototype.withInference = function (inference) {
|
|
9
|
+
this['inference'] = inference;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
return VideoTaggingTaskConfigCommon;
|
|
13
|
+
}());
|
|
14
|
+
exports.VideoTaggingTaskConfigCommon = VideoTaggingTaskConfigCommon;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare class VideoTagginginference {
|
|
2
|
+
private 'video_title'?;
|
|
3
|
+
language?: VideoTagginginferenceLanguageEnum;
|
|
4
|
+
private 'use_celebrity'?;
|
|
5
|
+
private 'use_landmark'?;
|
|
6
|
+
private 'use_logo'?;
|
|
7
|
+
private 'use_ocr'?;
|
|
8
|
+
private 'use_sis'?;
|
|
9
|
+
private 'use_tagging'?;
|
|
10
|
+
constructor();
|
|
11
|
+
withVideoTitle(videoTitle: string): VideoTagginginference;
|
|
12
|
+
set videoTitle(videoTitle: string | undefined);
|
|
13
|
+
get videoTitle(): string | undefined;
|
|
14
|
+
withLanguage(language: VideoTagginginferenceLanguageEnum): VideoTagginginference;
|
|
15
|
+
withUseCelebrity(useCelebrity: string): VideoTagginginference;
|
|
16
|
+
set useCelebrity(useCelebrity: string | undefined);
|
|
17
|
+
get useCelebrity(): string | undefined;
|
|
18
|
+
withUseLandmark(useLandmark: string): VideoTagginginference;
|
|
19
|
+
set useLandmark(useLandmark: string | undefined);
|
|
20
|
+
get useLandmark(): string | undefined;
|
|
21
|
+
withUseLogo(useLogo: string): VideoTagginginference;
|
|
22
|
+
set useLogo(useLogo: string | undefined);
|
|
23
|
+
get useLogo(): string | undefined;
|
|
24
|
+
withUseOcr(useOcr: string): VideoTagginginference;
|
|
25
|
+
set useOcr(useOcr: string | undefined);
|
|
26
|
+
get useOcr(): string | undefined;
|
|
27
|
+
withUseSis(useSis: string): VideoTagginginference;
|
|
28
|
+
set useSis(useSis: string | undefined);
|
|
29
|
+
get useSis(): string | undefined;
|
|
30
|
+
withUseTagging(useTagging: string): VideoTagginginference;
|
|
31
|
+
set useTagging(useTagging: string | undefined);
|
|
32
|
+
get useTagging(): string | undefined;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
* @enum {string}
|
|
37
|
+
*/
|
|
38
|
+
export declare enum VideoTagginginferenceLanguageEnum {
|
|
39
|
+
ZH = "zh",
|
|
40
|
+
EN = "en"
|
|
41
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VideoTagginginferenceLanguageEnum = exports.VideoTagginginference = void 0;
|
|
4
|
+
var VideoTagginginference = /** @class */ (function () {
|
|
5
|
+
function VideoTagginginference() {
|
|
6
|
+
}
|
|
7
|
+
VideoTagginginference.prototype.withVideoTitle = function (videoTitle) {
|
|
8
|
+
this['video_title'] = videoTitle;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(VideoTagginginference.prototype, "videoTitle", {
|
|
12
|
+
get: function () {
|
|
13
|
+
return this['video_title'];
|
|
14
|
+
},
|
|
15
|
+
set: function (videoTitle) {
|
|
16
|
+
this['video_title'] = videoTitle;
|
|
17
|
+
},
|
|
18
|
+
enumerable: false,
|
|
19
|
+
configurable: true
|
|
20
|
+
});
|
|
21
|
+
VideoTagginginference.prototype.withLanguage = function (language) {
|
|
22
|
+
this['language'] = language;
|
|
23
|
+
return this;
|
|
24
|
+
};
|
|
25
|
+
VideoTagginginference.prototype.withUseCelebrity = function (useCelebrity) {
|
|
26
|
+
this['use_celebrity'] = useCelebrity;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(VideoTagginginference.prototype, "useCelebrity", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['use_celebrity'];
|
|
32
|
+
},
|
|
33
|
+
set: function (useCelebrity) {
|
|
34
|
+
this['use_celebrity'] = useCelebrity;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
VideoTagginginference.prototype.withUseLandmark = function (useLandmark) {
|
|
40
|
+
this['use_landmark'] = useLandmark;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(VideoTagginginference.prototype, "useLandmark", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['use_landmark'];
|
|
46
|
+
},
|
|
47
|
+
set: function (useLandmark) {
|
|
48
|
+
this['use_landmark'] = useLandmark;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
VideoTagginginference.prototype.withUseLogo = function (useLogo) {
|
|
54
|
+
this['use_logo'] = useLogo;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(VideoTagginginference.prototype, "useLogo", {
|
|
58
|
+
get: function () {
|
|
59
|
+
return this['use_logo'];
|
|
60
|
+
},
|
|
61
|
+
set: function (useLogo) {
|
|
62
|
+
this['use_logo'] = useLogo;
|
|
63
|
+
},
|
|
64
|
+
enumerable: false,
|
|
65
|
+
configurable: true
|
|
66
|
+
});
|
|
67
|
+
VideoTagginginference.prototype.withUseOcr = function (useOcr) {
|
|
68
|
+
this['use_ocr'] = useOcr;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
Object.defineProperty(VideoTagginginference.prototype, "useOcr", {
|
|
72
|
+
get: function () {
|
|
73
|
+
return this['use_ocr'];
|
|
74
|
+
},
|
|
75
|
+
set: function (useOcr) {
|
|
76
|
+
this['use_ocr'] = useOcr;
|
|
77
|
+
},
|
|
78
|
+
enumerable: false,
|
|
79
|
+
configurable: true
|
|
80
|
+
});
|
|
81
|
+
VideoTagginginference.prototype.withUseSis = function (useSis) {
|
|
82
|
+
this['use_sis'] = useSis;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
Object.defineProperty(VideoTagginginference.prototype, "useSis", {
|
|
86
|
+
get: function () {
|
|
87
|
+
return this['use_sis'];
|
|
88
|
+
},
|
|
89
|
+
set: function (useSis) {
|
|
90
|
+
this['use_sis'] = useSis;
|
|
91
|
+
},
|
|
92
|
+
enumerable: false,
|
|
93
|
+
configurable: true
|
|
94
|
+
});
|
|
95
|
+
VideoTagginginference.prototype.withUseTagging = function (useTagging) {
|
|
96
|
+
this['use_tagging'] = useTagging;
|
|
97
|
+
return this;
|
|
98
|
+
};
|
|
99
|
+
Object.defineProperty(VideoTagginginference.prototype, "useTagging", {
|
|
100
|
+
get: function () {
|
|
101
|
+
return this['use_tagging'];
|
|
102
|
+
},
|
|
103
|
+
set: function (useTagging) {
|
|
104
|
+
this['use_tagging'] = useTagging;
|
|
105
|
+
},
|
|
106
|
+
enumerable: false,
|
|
107
|
+
configurable: true
|
|
108
|
+
});
|
|
109
|
+
return VideoTagginginference;
|
|
110
|
+
}());
|
|
111
|
+
exports.VideoTagginginference = VideoTagginginference;
|
|
112
|
+
/**
|
|
113
|
+
* @export
|
|
114
|
+
* @enum {string}
|
|
115
|
+
*/
|
|
116
|
+
var VideoTagginginferenceLanguageEnum;
|
|
117
|
+
(function (VideoTagginginferenceLanguageEnum) {
|
|
118
|
+
VideoTagginginferenceLanguageEnum["ZH"] = "zh";
|
|
119
|
+
VideoTagginginferenceLanguageEnum["EN"] = "en";
|
|
120
|
+
})(VideoTagginginferenceLanguageEnum = exports.VideoTagginginferenceLanguageEnum || (exports.VideoTagginginferenceLanguageEnum = {}));
|
package/v2/public-api.d.ts
CHANGED
|
@@ -7,6 +7,9 @@ export * from './model/CreateImageHighresolutionMattingTaskResponse';
|
|
|
7
7
|
export * from './model/CreateVideoObjectMaskingTaskRequest';
|
|
8
8
|
export * from './model/CreateVideoObjectMaskingTaskRequestBody';
|
|
9
9
|
export * from './model/CreateVideoObjectMaskingTaskResponse';
|
|
10
|
+
export * from './model/CreateVideoTaggingMediaTaskRequest';
|
|
11
|
+
export * from './model/CreateVideoTaggingMediaTaskRequestBody';
|
|
12
|
+
export * from './model/CreateVideoTaggingMediaTaskResponse';
|
|
10
13
|
export * from './model/ImageDescriptionReq';
|
|
11
14
|
export * from './model/ImageDescriptionResponseResult';
|
|
12
15
|
export * from './model/ImageHighresolutionMattingConfig';
|
|
@@ -42,8 +45,6 @@ export * from './model/RecaptureDetectResponseResult';
|
|
|
42
45
|
export * from './model/RecaptureDetectResponseResultDetail';
|
|
43
46
|
export * from './model/RunCelebrityRecognitionRequest';
|
|
44
47
|
export * from './model/RunCelebrityRecognitionResponse';
|
|
45
|
-
export * from './model/RunDeleteCustomTagsRequest';
|
|
46
|
-
export * from './model/RunDeleteCustomTagsResponse';
|
|
47
48
|
export * from './model/RunImageDescriptionRequest';
|
|
48
49
|
export * from './model/RunImageDescriptionResponse';
|
|
49
50
|
export * from './model/RunImageMainObjectDetectionRequest';
|
|
@@ -56,14 +57,14 @@ export * from './model/RunImageSuperResolutionRequest';
|
|
|
56
57
|
export * from './model/RunImageSuperResolutionResponse';
|
|
57
58
|
export * from './model/RunImageTaggingRequest';
|
|
58
59
|
export * from './model/RunImageTaggingResponse';
|
|
59
|
-
export * from './model/RunQueryCustomTagsRequest';
|
|
60
|
-
export * from './model/RunQueryCustomTagsResponse';
|
|
61
60
|
export * from './model/RunRecaptureDetectRequest';
|
|
62
61
|
export * from './model/RunRecaptureDetectResponse';
|
|
63
62
|
export * from './model/ShowImageHighresolutionMattingTaskRequest';
|
|
64
63
|
export * from './model/ShowImageHighresolutionMattingTaskResponse';
|
|
65
64
|
export * from './model/ShowVideoObjectMaskingTaskRequest';
|
|
66
65
|
export * from './model/ShowVideoObjectMaskingTaskResponse';
|
|
66
|
+
export * from './model/ShowVideoTaggingMediaTaskRequest';
|
|
67
|
+
export * from './model/ShowVideoTaggingMediaTaskResponse';
|
|
67
68
|
export * from './model/TaskCallback';
|
|
68
69
|
export * from './model/TaskInput';
|
|
69
70
|
export * from './model/TaskInputData';
|
|
@@ -72,4 +73,9 @@ export * from './model/TaskOutputObs';
|
|
|
72
73
|
export * from './model/VideoObjectMaskingInference';
|
|
73
74
|
export * from './model/VideoObjectMaskingTaskConfig';
|
|
74
75
|
export * from './model/VideoObjectMaskingTaskConfigCommon';
|
|
76
|
+
export * from './model/VideoTaggingMediaTaskInput';
|
|
77
|
+
export * from './model/VideoTaggingMediaTaskInputData';
|
|
78
|
+
export * from './model/VideoTaggingTaskConfig';
|
|
79
|
+
export * from './model/VideoTaggingTaskConfigCommon';
|
|
80
|
+
export * from './model/VideoTagginginference';
|
|
75
81
|
export * from './ImageRegion';
|
package/v2/public-api.js
CHANGED
|
@@ -23,6 +23,9 @@ __exportStar(require("./model/CreateImageHighresolutionMattingTaskResponse"), ex
|
|
|
23
23
|
__exportStar(require("./model/CreateVideoObjectMaskingTaskRequest"), exports);
|
|
24
24
|
__exportStar(require("./model/CreateVideoObjectMaskingTaskRequestBody"), exports);
|
|
25
25
|
__exportStar(require("./model/CreateVideoObjectMaskingTaskResponse"), exports);
|
|
26
|
+
__exportStar(require("./model/CreateVideoTaggingMediaTaskRequest"), exports);
|
|
27
|
+
__exportStar(require("./model/CreateVideoTaggingMediaTaskRequestBody"), exports);
|
|
28
|
+
__exportStar(require("./model/CreateVideoTaggingMediaTaskResponse"), exports);
|
|
26
29
|
__exportStar(require("./model/ImageDescriptionReq"), exports);
|
|
27
30
|
__exportStar(require("./model/ImageDescriptionResponseResult"), exports);
|
|
28
31
|
__exportStar(require("./model/ImageHighresolutionMattingConfig"), exports);
|
|
@@ -58,8 +61,6 @@ __exportStar(require("./model/RecaptureDetectResponseResult"), exports);
|
|
|
58
61
|
__exportStar(require("./model/RecaptureDetectResponseResultDetail"), exports);
|
|
59
62
|
__exportStar(require("./model/RunCelebrityRecognitionRequest"), exports);
|
|
60
63
|
__exportStar(require("./model/RunCelebrityRecognitionResponse"), exports);
|
|
61
|
-
__exportStar(require("./model/RunDeleteCustomTagsRequest"), exports);
|
|
62
|
-
__exportStar(require("./model/RunDeleteCustomTagsResponse"), exports);
|
|
63
64
|
__exportStar(require("./model/RunImageDescriptionRequest"), exports);
|
|
64
65
|
__exportStar(require("./model/RunImageDescriptionResponse"), exports);
|
|
65
66
|
__exportStar(require("./model/RunImageMainObjectDetectionRequest"), exports);
|
|
@@ -72,14 +73,14 @@ __exportStar(require("./model/RunImageSuperResolutionRequest"), exports);
|
|
|
72
73
|
__exportStar(require("./model/RunImageSuperResolutionResponse"), exports);
|
|
73
74
|
__exportStar(require("./model/RunImageTaggingRequest"), exports);
|
|
74
75
|
__exportStar(require("./model/RunImageTaggingResponse"), exports);
|
|
75
|
-
__exportStar(require("./model/RunQueryCustomTagsRequest"), exports);
|
|
76
|
-
__exportStar(require("./model/RunQueryCustomTagsResponse"), exports);
|
|
77
76
|
__exportStar(require("./model/RunRecaptureDetectRequest"), exports);
|
|
78
77
|
__exportStar(require("./model/RunRecaptureDetectResponse"), exports);
|
|
79
78
|
__exportStar(require("./model/ShowImageHighresolutionMattingTaskRequest"), exports);
|
|
80
79
|
__exportStar(require("./model/ShowImageHighresolutionMattingTaskResponse"), exports);
|
|
81
80
|
__exportStar(require("./model/ShowVideoObjectMaskingTaskRequest"), exports);
|
|
82
81
|
__exportStar(require("./model/ShowVideoObjectMaskingTaskResponse"), exports);
|
|
82
|
+
__exportStar(require("./model/ShowVideoTaggingMediaTaskRequest"), exports);
|
|
83
|
+
__exportStar(require("./model/ShowVideoTaggingMediaTaskResponse"), exports);
|
|
83
84
|
__exportStar(require("./model/TaskCallback"), exports);
|
|
84
85
|
__exportStar(require("./model/TaskInput"), exports);
|
|
85
86
|
__exportStar(require("./model/TaskInputData"), exports);
|
|
@@ -88,4 +89,9 @@ __exportStar(require("./model/TaskOutputObs"), exports);
|
|
|
88
89
|
__exportStar(require("./model/VideoObjectMaskingInference"), exports);
|
|
89
90
|
__exportStar(require("./model/VideoObjectMaskingTaskConfig"), exports);
|
|
90
91
|
__exportStar(require("./model/VideoObjectMaskingTaskConfigCommon"), exports);
|
|
92
|
+
__exportStar(require("./model/VideoTaggingMediaTaskInput"), exports);
|
|
93
|
+
__exportStar(require("./model/VideoTaggingMediaTaskInputData"), exports);
|
|
94
|
+
__exportStar(require("./model/VideoTaggingTaskConfig"), exports);
|
|
95
|
+
__exportStar(require("./model/VideoTaggingTaskConfigCommon"), exports);
|
|
96
|
+
__exportStar(require("./model/VideoTagginginference"), exports);
|
|
91
97
|
__exportStar(require("./ImageRegion"), exports);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RunDeleteCustomTagsRequest = void 0;
|
|
4
|
-
var RunDeleteCustomTagsRequest = /** @class */ (function () {
|
|
5
|
-
function RunDeleteCustomTagsRequest() {
|
|
6
|
-
}
|
|
7
|
-
return RunDeleteCustomTagsRequest;
|
|
8
|
-
}());
|
|
9
|
-
exports.RunDeleteCustomTagsRequest = RunDeleteCustomTagsRequest;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.RunDeleteCustomTagsResponse = void 0;
|
|
19
|
-
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
-
var RunDeleteCustomTagsResponse = /** @class */ (function (_super) {
|
|
21
|
-
__extends(RunDeleteCustomTagsResponse, _super);
|
|
22
|
-
function RunDeleteCustomTagsResponse() {
|
|
23
|
-
return _super.call(this) || this;
|
|
24
|
-
}
|
|
25
|
-
RunDeleteCustomTagsResponse.prototype.withResult = function (result) {
|
|
26
|
-
this['result'] = result;
|
|
27
|
-
return this;
|
|
28
|
-
};
|
|
29
|
-
return RunDeleteCustomTagsResponse;
|
|
30
|
-
}(SdkResponse_1.SdkResponse));
|
|
31
|
-
exports.RunDeleteCustomTagsResponse = RunDeleteCustomTagsResponse;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RunQueryCustomTagsRequest = void 0;
|
|
4
|
-
var RunQueryCustomTagsRequest = /** @class */ (function () {
|
|
5
|
-
function RunQueryCustomTagsRequest() {
|
|
6
|
-
}
|
|
7
|
-
return RunQueryCustomTagsRequest;
|
|
8
|
-
}());
|
|
9
|
-
exports.RunQueryCustomTagsRequest = RunQueryCustomTagsRequest;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.RunQueryCustomTagsResponse = void 0;
|
|
19
|
-
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
-
var RunQueryCustomTagsResponse = /** @class */ (function (_super) {
|
|
21
|
-
__extends(RunQueryCustomTagsResponse, _super);
|
|
22
|
-
function RunQueryCustomTagsResponse() {
|
|
23
|
-
return _super.call(this) || this;
|
|
24
|
-
}
|
|
25
|
-
RunQueryCustomTagsResponse.prototype.withResult = function (result) {
|
|
26
|
-
this['result'] = result;
|
|
27
|
-
return this;
|
|
28
|
-
};
|
|
29
|
-
return RunQueryCustomTagsResponse;
|
|
30
|
-
}(SdkResponse_1.SdkResponse));
|
|
31
|
-
exports.RunQueryCustomTagsResponse = RunQueryCustomTagsResponse;
|