@huaweicloud/huaweicloud-sdk-ocr 3.1.90 → 3.1.91
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/v1/OcrClient.d.ts +7 -7
- package/v1/OcrClient.js +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huaweicloud/huaweicloud-sdk-ocr",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.91",
|
|
4
4
|
"description": "Huaweicloud SDK for ocr",
|
|
5
5
|
"main": "huaweicloud-sdk-ocr.js",
|
|
6
6
|
"typings": "huaweicloud-sdk-ocr.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
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.91"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/node": "^14.14.37",
|
package/v1/OcrClient.d.ts
CHANGED
|
@@ -204,7 +204,7 @@ export declare class OcrClient {
|
|
|
204
204
|
*
|
|
205
205
|
* @summary 哥伦比亚身份证识别
|
|
206
206
|
* @param {ColombiaIdCardRequestBody} recognizeColombiaIdCardRequestBody This is a colombia id card Body Object
|
|
207
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console
|
|
207
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
208
208
|
* @param {*} [options] Override http request option.
|
|
209
209
|
* @throws {RequiredError}
|
|
210
210
|
*/
|
|
@@ -269,7 +269,7 @@ export declare class OcrClient {
|
|
|
269
269
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
270
270
|
*
|
|
271
271
|
* @summary 通用表格识别
|
|
272
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。
|
|
272
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
273
273
|
* @param {GeneralTableRequestBody} [recognizeGeneralTableRequestBody] This is a generaltable Body Object
|
|
274
274
|
* @param {*} [options] Override http request option.
|
|
275
275
|
* @throws {RequiredError}
|
|
@@ -281,7 +281,7 @@ export declare class OcrClient {
|
|
|
281
281
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
282
282
|
*
|
|
283
283
|
* @summary 通用文字识别
|
|
284
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。
|
|
284
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
285
285
|
* @param {GeneralTextRequestBody} [recognizeGeneralTextRequestBody] This is a generaltext Body Object
|
|
286
286
|
* @param {*} [options] Override http request option.
|
|
287
287
|
* @throws {RequiredError}
|
|
@@ -497,7 +497,7 @@ export declare class OcrClient {
|
|
|
497
497
|
*
|
|
498
498
|
* @summary 护照识别
|
|
499
499
|
* @param {PassportRequestBody} recognizePassportRequestBody This is a Passport Body Object
|
|
500
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。
|
|
500
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
501
501
|
* @param {*} [options] Override http request option.
|
|
502
502
|
* @throws {RequiredError}
|
|
503
503
|
*/
|
|
@@ -613,7 +613,7 @@ export declare class OcrClient {
|
|
|
613
613
|
*
|
|
614
614
|
* @summary 泰文身份证识别
|
|
615
615
|
* @param {ThailandIdcardRequestBody} recognizeThailandIdcardRequestBody This is a Thailand Idcard Body Object
|
|
616
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。
|
|
616
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
617
617
|
* @param {*} [options] Override http request option.
|
|
618
618
|
* @throws {RequiredError}
|
|
619
619
|
*/
|
|
@@ -625,7 +625,7 @@ export declare class OcrClient {
|
|
|
625
625
|
*
|
|
626
626
|
* @summary 泰国车牌识别
|
|
627
627
|
* @param {ThailandLicensePlateRequestBody} recognizeThailandLicensePlateRequestBody This is a thailand license plate Body Object
|
|
628
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。
|
|
628
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
629
629
|
* @param {*} [options] Override http request option.
|
|
630
630
|
* @throws {RequiredError}
|
|
631
631
|
*/
|
|
@@ -744,7 +744,7 @@ export declare class OcrClient {
|
|
|
744
744
|
*
|
|
745
745
|
* @summary 网络图片识别
|
|
746
746
|
* @param {WebImageRequestBody} recognizeWebImageRequestBody This is a Web Image Body Object
|
|
747
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。
|
|
747
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
748
748
|
* @param {*} [options] Override http request option.
|
|
749
749
|
* @throws {RequiredError}
|
|
750
750
|
*/
|
package/v1/OcrClient.js
CHANGED
|
@@ -196,7 +196,7 @@ class OcrClient {
|
|
|
196
196
|
*
|
|
197
197
|
* @summary 哥伦比亚身份证识别
|
|
198
198
|
* @param {ColombiaIdCardRequestBody} recognizeColombiaIdCardRequestBody This is a colombia id card Body Object
|
|
199
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console
|
|
199
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
200
200
|
* @param {*} [options] Override http request option.
|
|
201
201
|
* @throws {RequiredError}
|
|
202
202
|
*/
|
|
@@ -286,7 +286,7 @@ class OcrClient {
|
|
|
286
286
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
287
287
|
*
|
|
288
288
|
* @summary 通用表格识别
|
|
289
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。
|
|
289
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
290
290
|
* @param {GeneralTableRequestBody} [recognizeGeneralTableRequestBody] This is a generaltable Body Object
|
|
291
291
|
* @param {*} [options] Override http request option.
|
|
292
292
|
* @throws {RequiredError}
|
|
@@ -303,7 +303,7 @@ class OcrClient {
|
|
|
303
303
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
304
304
|
*
|
|
305
305
|
* @summary 通用文字识别
|
|
306
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。
|
|
306
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
307
307
|
* @param {GeneralTextRequestBody} [recognizeGeneralTextRequestBody] This is a generaltext Body Object
|
|
308
308
|
* @param {*} [options] Override http request option.
|
|
309
309
|
* @throws {RequiredError}
|
|
@@ -594,7 +594,7 @@ class OcrClient {
|
|
|
594
594
|
*
|
|
595
595
|
* @summary 护照识别
|
|
596
596
|
* @param {PassportRequestBody} recognizePassportRequestBody This is a Passport Body Object
|
|
597
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。
|
|
597
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
598
598
|
* @param {*} [options] Override http request option.
|
|
599
599
|
* @throws {RequiredError}
|
|
600
600
|
*/
|
|
@@ -755,7 +755,7 @@ class OcrClient {
|
|
|
755
755
|
*
|
|
756
756
|
* @summary 泰文身份证识别
|
|
757
757
|
* @param {ThailandIdcardRequestBody} recognizeThailandIdcardRequestBody This is a Thailand Idcard Body Object
|
|
758
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。
|
|
758
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
759
759
|
* @param {*} [options] Override http request option.
|
|
760
760
|
* @throws {RequiredError}
|
|
761
761
|
*/
|
|
@@ -772,7 +772,7 @@ class OcrClient {
|
|
|
772
772
|
*
|
|
773
773
|
* @summary 泰国车牌识别
|
|
774
774
|
* @param {ThailandLicensePlateRequestBody} recognizeThailandLicensePlateRequestBody This is a thailand license plate Body Object
|
|
775
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。
|
|
775
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
776
776
|
* @param {*} [options] Override http request option.
|
|
777
777
|
* @throws {RequiredError}
|
|
778
778
|
*/
|
|
@@ -936,7 +936,7 @@ class OcrClient {
|
|
|
936
936
|
*
|
|
937
937
|
* @summary 网络图片识别
|
|
938
938
|
* @param {WebImageRequestBody} recognizeWebImageRequestBody This is a Web Image Body Object
|
|
939
|
-
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。
|
|
939
|
+
* @param {string} [enterpriseProjectId] 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。
|
|
940
940
|
* @param {*} [options] Override http request option.
|
|
941
941
|
* @throws {RequiredError}
|
|
942
942
|
*/
|