@huaweicloud/huaweicloud-sdk-image 3.1.35 → 3.1.36
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 +0 -52
- package/v2/ImageClient.js +2 -72
- package/v2/public-api.d.ts +0 -4
- package/v2/public-api.js +0 -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.36",
|
|
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.36"
|
|
18
18
|
}
|
|
19
19
|
}
|
package/v2/ImageClient.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import { CreateVideoObjectMaskingTaskRequest } from './model/CreateVideoObjectMa
|
|
|
6
6
|
import { CreateVideoObjectMaskingTaskResponse } from './model/CreateVideoObjectMaskingTaskResponse';
|
|
7
7
|
import { RunCelebrityRecognitionRequest } from './model/RunCelebrityRecognitionRequest';
|
|
8
8
|
import { RunCelebrityRecognitionResponse } from './model/RunCelebrityRecognitionResponse';
|
|
9
|
-
import { RunDeleteCustomTagsResponse } from './model/RunDeleteCustomTagsResponse';
|
|
10
9
|
import { RunImageDescriptionRequest } from './model/RunImageDescriptionRequest';
|
|
11
10
|
import { RunImageDescriptionResponse } from './model/RunImageDescriptionResponse';
|
|
12
11
|
import { RunImageMainObjectDetectionRequest } from './model/RunImageMainObjectDetectionRequest';
|
|
@@ -19,7 +18,6 @@ import { RunImageSuperResolutionRequest } from './model/RunImageSuperResolutionR
|
|
|
19
18
|
import { RunImageSuperResolutionResponse } from './model/RunImageSuperResolutionResponse';
|
|
20
19
|
import { RunImageTaggingRequest } from './model/RunImageTaggingRequest';
|
|
21
20
|
import { RunImageTaggingResponse } from './model/RunImageTaggingResponse';
|
|
22
|
-
import { RunQueryCustomTagsResponse } from './model/RunQueryCustomTagsResponse';
|
|
23
21
|
import { RunRecaptureDetectRequest } from './model/RunRecaptureDetectRequest';
|
|
24
22
|
import { RunRecaptureDetectResponse } from './model/RunRecaptureDetectResponse';
|
|
25
23
|
import { ShowImageHighresolutionMattingTaskRequest } from './model/ShowImageHighresolutionMattingTaskRequest';
|
|
@@ -64,16 +62,6 @@ export declare class ImageClient {
|
|
|
64
62
|
* @throws {RequiredError}
|
|
65
63
|
*/
|
|
66
64
|
runCelebrityRecognition(runCelebrityRecognitionRequest?: RunCelebrityRecognitionRequest): Promise<RunCelebrityRecognitionResponse>;
|
|
67
|
-
/**
|
|
68
|
-
* 用于用户删除自定义的标签。
|
|
69
|
-
*
|
|
70
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
71
|
-
*
|
|
72
|
-
* @summary 删除媒资图像标签
|
|
73
|
-
* @param {*} [options] Override http request option.
|
|
74
|
-
* @throws {RequiredError}
|
|
75
|
-
*/
|
|
76
|
-
runDeleteCustomTags(): Promise<RunDeleteCustomTagsResponse>;
|
|
77
65
|
/**
|
|
78
66
|
* 图像描述
|
|
79
67
|
*
|
|
@@ -140,16 +128,6 @@ export declare class ImageClient {
|
|
|
140
128
|
* @throws {RequiredError}
|
|
141
129
|
*/
|
|
142
130
|
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
131
|
/**
|
|
154
132
|
* 零售行业通常根据零售店的销售量进行销售奖励,拍摄售出商品的条形码上传后台是常用的统计方式。翻拍识别利用深度神经网络算法判断条形码图片为原始拍摄,还是经过二次翻拍、打印翻拍等手法二次处理的图片。利用翻拍识别,可以检测出经过二次处理的不合规范图片,使得统计数据更准确、有效。。
|
|
155
133
|
*
|
|
@@ -227,20 +205,6 @@ export declare const ParamCreater: () => {
|
|
|
227
205
|
headers: {};
|
|
228
206
|
data: {};
|
|
229
207
|
};
|
|
230
|
-
/**
|
|
231
|
-
* 用于用户删除自定义的标签。
|
|
232
|
-
*
|
|
233
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
234
|
-
*/
|
|
235
|
-
runDeleteCustomTags(): {
|
|
236
|
-
method: string;
|
|
237
|
-
url: string;
|
|
238
|
-
contentType: string;
|
|
239
|
-
queryParams: {};
|
|
240
|
-
pathParams: {};
|
|
241
|
-
headers: {};
|
|
242
|
-
data: {};
|
|
243
|
-
};
|
|
244
208
|
/**
|
|
245
209
|
* 图像描述
|
|
246
210
|
*
|
|
@@ -325,20 +289,6 @@ export declare const ParamCreater: () => {
|
|
|
325
289
|
headers: {};
|
|
326
290
|
data: {};
|
|
327
291
|
};
|
|
328
|
-
/**
|
|
329
|
-
* 用于用户自查是否存在自定义的标签。
|
|
330
|
-
*
|
|
331
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
332
|
-
*/
|
|
333
|
-
runQueryCustomTags(): {
|
|
334
|
-
method: string;
|
|
335
|
-
url: string;
|
|
336
|
-
contentType: string;
|
|
337
|
-
queryParams: {};
|
|
338
|
-
pathParams: {};
|
|
339
|
-
headers: {};
|
|
340
|
-
data: {};
|
|
341
|
-
};
|
|
342
292
|
/**
|
|
343
293
|
* 零售行业通常根据零售店的销售量进行销售奖励,拍摄售出商品的条形码上传后台是常用的统计方式。翻拍识别利用深度神经网络算法判断条形码图片为原始拍摄,还是经过二次翻拍、打印翻拍等手法二次处理的图片。利用翻拍识别,可以检测出经过二次处理的不合规范图片,使得统计数据更准确、有效。。
|
|
344
294
|
*
|
|
@@ -365,7 +315,6 @@ export declare const ParamCreater: () => {
|
|
|
365
315
|
queryParams: {};
|
|
366
316
|
pathParams: {};
|
|
367
317
|
headers: {};
|
|
368
|
-
data: {};
|
|
369
318
|
};
|
|
370
319
|
/**
|
|
371
320
|
* show task
|
|
@@ -379,7 +328,6 @@ export declare const ParamCreater: () => {
|
|
|
379
328
|
queryParams: {};
|
|
380
329
|
pathParams: {};
|
|
381
330
|
headers: {};
|
|
382
|
-
data: {};
|
|
383
331
|
};
|
|
384
332
|
};
|
|
385
333
|
/**
|
package/v2/ImageClient.js
CHANGED
|
@@ -87,21 +87,6 @@ var ImageClient = /** @class */ (function () {
|
|
|
87
87
|
options['responseHeaders'] = [''];
|
|
88
88
|
return this.hcClient.sendRequest(options);
|
|
89
89
|
};
|
|
90
|
-
/**
|
|
91
|
-
* 用于用户删除自定义的标签。
|
|
92
|
-
*
|
|
93
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
94
|
-
*
|
|
95
|
-
* @summary 删除媒资图像标签
|
|
96
|
-
* @param {*} [options] Override http request option.
|
|
97
|
-
* @throws {RequiredError}
|
|
98
|
-
*/
|
|
99
|
-
ImageClient.prototype.runDeleteCustomTags = function () {
|
|
100
|
-
var options = (0, exports.ParamCreater)().runDeleteCustomTags();
|
|
101
|
-
// @ts-ignore
|
|
102
|
-
options['responseHeaders'] = [''];
|
|
103
|
-
return this.hcClient.sendRequest(options);
|
|
104
|
-
};
|
|
105
90
|
/**
|
|
106
91
|
* 图像描述
|
|
107
92
|
*
|
|
@@ -198,21 +183,6 @@ var ImageClient = /** @class */ (function () {
|
|
|
198
183
|
options['responseHeaders'] = [''];
|
|
199
184
|
return this.hcClient.sendRequest(options);
|
|
200
185
|
};
|
|
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
186
|
/**
|
|
217
187
|
* 零售行业通常根据零售店的销售量进行销售奖励,拍摄售出商品的条形码上传后台是常用的统计方式。翻拍识别利用深度神经网络算法判断条形码图片为原始拍摄,还是经过二次翻拍、打印翻拍等手法二次处理的图片。利用翻拍识别,可以检测出经过二次处理的不合规范图片,使得统计数据更准确、有效。。
|
|
218
188
|
*
|
|
@@ -365,25 +335,6 @@ var ParamCreater = function () {
|
|
|
365
335
|
options.headers = localVarHeaderParameter;
|
|
366
336
|
return options;
|
|
367
337
|
},
|
|
368
|
-
/**
|
|
369
|
-
* 用于用户删除自定义的标签。
|
|
370
|
-
*
|
|
371
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
372
|
-
*/
|
|
373
|
-
runDeleteCustomTags: function () {
|
|
374
|
-
var options = {
|
|
375
|
-
method: "DELETE",
|
|
376
|
-
url: "/v2/{project_id}/image/media-tagging/custom-tags",
|
|
377
|
-
contentType: "application/json",
|
|
378
|
-
queryParams: {},
|
|
379
|
-
pathParams: {},
|
|
380
|
-
headers: {},
|
|
381
|
-
data: {}
|
|
382
|
-
};
|
|
383
|
-
var localVarHeaderParameter = {};
|
|
384
|
-
options.headers = localVarHeaderParameter;
|
|
385
|
-
return options;
|
|
386
|
-
},
|
|
387
338
|
/**
|
|
388
339
|
* 图像描述
|
|
389
340
|
*
|
|
@@ -582,25 +533,6 @@ var ParamCreater = function () {
|
|
|
582
533
|
options.headers = localVarHeaderParameter;
|
|
583
534
|
return options;
|
|
584
535
|
},
|
|
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
536
|
/**
|
|
605
537
|
* 零售行业通常根据零售店的销售量进行销售奖励,拍摄售出商品的条形码上传后台是常用的统计方式。翻拍识别利用深度神经网络算法判断条形码图片为原始拍摄,还是经过二次翻拍、打印翻拍等手法二次处理的图片。利用翻拍识别,可以检测出经过二次处理的不合规范图片,使得统计数据更准确、有效。。
|
|
606
538
|
*
|
|
@@ -646,8 +578,7 @@ var ParamCreater = function () {
|
|
|
646
578
|
contentType: "application/json",
|
|
647
579
|
queryParams: {},
|
|
648
580
|
pathParams: {},
|
|
649
|
-
headers: {}
|
|
650
|
-
data: {}
|
|
581
|
+
headers: {}
|
|
651
582
|
};
|
|
652
583
|
var localVarHeaderParameter = {};
|
|
653
584
|
var taskId;
|
|
@@ -678,8 +609,7 @@ var ParamCreater = function () {
|
|
|
678
609
|
contentType: "application/json",
|
|
679
610
|
queryParams: {},
|
|
680
611
|
pathParams: {},
|
|
681
|
-
headers: {}
|
|
682
|
-
data: {}
|
|
612
|
+
headers: {}
|
|
683
613
|
};
|
|
684
614
|
var localVarHeaderParameter = {};
|
|
685
615
|
var taskId;
|
package/v2/public-api.d.ts
CHANGED
|
@@ -42,8 +42,6 @@ export * from './model/RecaptureDetectResponseResult';
|
|
|
42
42
|
export * from './model/RecaptureDetectResponseResultDetail';
|
|
43
43
|
export * from './model/RunCelebrityRecognitionRequest';
|
|
44
44
|
export * from './model/RunCelebrityRecognitionResponse';
|
|
45
|
-
export * from './model/RunDeleteCustomTagsRequest';
|
|
46
|
-
export * from './model/RunDeleteCustomTagsResponse';
|
|
47
45
|
export * from './model/RunImageDescriptionRequest';
|
|
48
46
|
export * from './model/RunImageDescriptionResponse';
|
|
49
47
|
export * from './model/RunImageMainObjectDetectionRequest';
|
|
@@ -56,8 +54,6 @@ export * from './model/RunImageSuperResolutionRequest';
|
|
|
56
54
|
export * from './model/RunImageSuperResolutionResponse';
|
|
57
55
|
export * from './model/RunImageTaggingRequest';
|
|
58
56
|
export * from './model/RunImageTaggingResponse';
|
|
59
|
-
export * from './model/RunQueryCustomTagsRequest';
|
|
60
|
-
export * from './model/RunQueryCustomTagsResponse';
|
|
61
57
|
export * from './model/RunRecaptureDetectRequest';
|
|
62
58
|
export * from './model/RunRecaptureDetectResponse';
|
|
63
59
|
export * from './model/ShowImageHighresolutionMattingTaskRequest';
|
package/v2/public-api.js
CHANGED
|
@@ -58,8 +58,6 @@ __exportStar(require("./model/RecaptureDetectResponseResult"), exports);
|
|
|
58
58
|
__exportStar(require("./model/RecaptureDetectResponseResultDetail"), exports);
|
|
59
59
|
__exportStar(require("./model/RunCelebrityRecognitionRequest"), exports);
|
|
60
60
|
__exportStar(require("./model/RunCelebrityRecognitionResponse"), exports);
|
|
61
|
-
__exportStar(require("./model/RunDeleteCustomTagsRequest"), exports);
|
|
62
|
-
__exportStar(require("./model/RunDeleteCustomTagsResponse"), exports);
|
|
63
61
|
__exportStar(require("./model/RunImageDescriptionRequest"), exports);
|
|
64
62
|
__exportStar(require("./model/RunImageDescriptionResponse"), exports);
|
|
65
63
|
__exportStar(require("./model/RunImageMainObjectDetectionRequest"), exports);
|
|
@@ -72,8 +70,6 @@ __exportStar(require("./model/RunImageSuperResolutionRequest"), exports);
|
|
|
72
70
|
__exportStar(require("./model/RunImageSuperResolutionResponse"), exports);
|
|
73
71
|
__exportStar(require("./model/RunImageTaggingRequest"), exports);
|
|
74
72
|
__exportStar(require("./model/RunImageTaggingResponse"), exports);
|
|
75
|
-
__exportStar(require("./model/RunQueryCustomTagsRequest"), exports);
|
|
76
|
-
__exportStar(require("./model/RunQueryCustomTagsResponse"), exports);
|
|
77
73
|
__exportStar(require("./model/RunRecaptureDetectRequest"), exports);
|
|
78
74
|
__exportStar(require("./model/RunRecaptureDetectResponse"), exports);
|
|
79
75
|
__exportStar(require("./model/ShowImageHighresolutionMattingTaskRequest"), 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;
|