Socket
Socket
Sign inDemoInstall

@huaweicloud/huaweicloud-sdk-ocr

Package Overview
Dependencies
Maintainers
2
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huaweicloud/huaweicloud-sdk-ocr - npm Package Compare versions

Comparing version 3.0.25-beta to 3.0.26-beta

v1/model/ChileIdCardConfidence.d.ts

4

package.json
{
"name": "@huaweicloud/huaweicloud-sdk-ocr",
"version": "3.0.25-beta",
"version": "3.0.26-beta",
"description": "Huaweicloud SDK for ocr",

@@ -17,4 +17,4 @@ "main": "huaweicloud-sdk-ocr.js",

"dependencies": {
"@huaweicloud/huaweicloud-sdk-core": "^3.0.25-beta"
"@huaweicloud/huaweicloud-sdk-core": "^3.0.26-beta"
}
}

@@ -11,2 +11,4 @@ import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";

import { RecognizeBusinessLicenseResponse } from './model/RecognizeBusinessLicenseResponse';
import { RecognizeChileIdCardRequest } from './model/RecognizeChileIdCardRequest';
import { RecognizeChileIdCardResponse } from './model/RecognizeChileIdCardResponse';
import { RecognizeDriverLicenseRequest } from './model/RecognizeDriverLicenseRequest';

@@ -34,2 +36,6 @@ import { RecognizeDriverLicenseResponse } from './model/RecognizeDriverLicenseResponse';

import { RecognizeMvsInvoiceResponse } from './model/RecognizeMvsInvoiceResponse';
import { RecognizeMyanmarDriverLicenseRequest } from './model/RecognizeMyanmarDriverLicenseRequest';
import { RecognizeMyanmarDriverLicenseResponse } from './model/RecognizeMyanmarDriverLicenseResponse';
import { RecognizeMyanmarIdcardRequest } from './model/RecognizeMyanmarIdcardRequest';
import { RecognizeMyanmarIdcardResponse } from './model/RecognizeMyanmarIdcardResponse';
import { RecognizePassportRequest } from './model/RecognizePassportRequest';

@@ -43,2 +49,6 @@ import { RecognizePassportResponse } from './model/RecognizePassportResponse';

import { RecognizeTaxiInvoiceResponse } from './model/RecognizeTaxiInvoiceResponse';
import { RecognizeThailandIdcardRequest } from './model/RecognizeThailandIdcardRequest';
import { RecognizeThailandIdcardResponse } from './model/RecognizeThailandIdcardResponse';
import { RecognizeThailandLicensePlateRequest } from './model/RecognizeThailandLicensePlateRequest';
import { RecognizeThailandLicensePlateResponse } from './model/RecognizeThailandLicensePlateResponse';
import { RecognizeTollInvoiceRequest } from './model/RecognizeTollInvoiceRequest';

@@ -96,2 +106,10 @@ import { RecognizeTollInvoiceResponse } from './model/RecognizeTollInvoiceResponse';

/**
* 识别智利身份证图片中的文字内容,并返回识别的结构化结果。
* @summary 智利身份证识别
* @param {ChileIdCardRequestBody} chileIdCardRequestBody This is a chile id-card Body Object
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
recognizeChileIdCard(recognizeChileIdCardRequest?: RecognizeChileIdCardRequest): Promise<RecognizeChileIdCardResponse>;
/**
* 识别用户上传的驾驶证图片(或者用户提供的华为云上OBS的驾驶证图片文件的URL)中主页与副页的文字内容,并将识别的结果返回给用户。 说明: 如果图片中包含多张卡证票据,请调用智能分类识别服务。

@@ -185,2 +203,18 @@ * @summary 驾驶证识别

/**
* 识别缅甸驾驶证中的文字信息,并返回识别的结构化结果。
* @summary 缅文驾驶证识别
* @param {MyanmarDriverLicenseRequestBody} myanmarDriverLicenseRequestBody This is a Myanmar driver license Body Object
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
recognizeMyanmarDriverLicense(recognizeMyanmarDriverLicenseRequest?: RecognizeMyanmarDriverLicenseRequest): Promise<RecognizeMyanmarDriverLicenseResponse>;
/**
* 识别缅文身份证中的文字信息,并返回识别的结构化结果。
* @summary 缅文身份证识别
* @param {MyanmarIdcardRequestBody} myanmarIdcardRequestBody This is a Myanmar Idcard Body Object
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
recognizeMyanmarIdcard(recognizeMyanmarIdcardRequest?: RecognizeMyanmarIdcardRequest): Promise<RecognizeMyanmarIdcardResponse>;
/**
* 识别用户上传的护照首页图片中的文字信息,并返回识别的结构化结果。当前版本支持中国护照的全字段识别。外国护照支持护照下方两行国际标准化的机读码识别,并可从中提取6-7个关键字段信息。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

@@ -218,2 +252,18 @@ * @summary 护照识别

/**
* 识别泰国身份证中的文字信息,并返回识别的结构化结果。
* @summary 泰文身份证识别
* @param {ThailandIdcardRequestBody} thailandIdcardRequestBody This is a Thailand Idcard Body Object
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
recognizeThailandIdcard(recognizeThailandIdcardRequest?: RecognizeThailandIdcardRequest): Promise<RecognizeThailandIdcardResponse>;
/**
* 识别泰国车牌图片中的车牌信息,并返回识别的结构化结果。
* @summary 泰国车牌识别
* @param {ThailandLicensePlateRequestBody} thailandLicensePlateRequestBody This is a thailand license plate Body Object
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
recognizeThailandLicensePlate(recognizeThailandLicensePlateRequest?: RecognizeThailandLicensePlateRequest): Promise<RecognizeThailandLicensePlateResponse>;
/**
* 识别车辆通行费发票中的文字信息,并返回识别的结构化结果。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

@@ -325,2 +375,14 @@ * @summary 车辆通行费发票识别

/**
* 识别智利身份证图片中的文字内容,并返回识别的结构化结果。
*/
recognizeChileIdCard(recognizeChileIdCardRequest?: RecognizeChileIdCardRequest | undefined): {
method: string;
url: string;
contentType: string;
queryParams: {};
pathParams: {};
headers: {};
data: {};
};
/**
* 识别用户上传的驾驶证图片(或者用户提供的华为云上OBS的驾驶证图片文件的URL)中主页与副页的文字内容,并将识别的结果返回给用户。 说明: 如果图片中包含多张卡证票据,请调用智能分类识别服务。

@@ -458,2 +520,26 @@ */

/**
* 识别缅甸驾驶证中的文字信息,并返回识别的结构化结果。
*/
recognizeMyanmarDriverLicense(recognizeMyanmarDriverLicenseRequest?: RecognizeMyanmarDriverLicenseRequest | undefined): {
method: string;
url: string;
contentType: string;
queryParams: {};
pathParams: {};
headers: {};
data: {};
};
/**
* 识别缅文身份证中的文字信息,并返回识别的结构化结果。
*/
recognizeMyanmarIdcard(recognizeMyanmarIdcardRequest?: RecognizeMyanmarIdcardRequest | undefined): {
method: string;
url: string;
contentType: string;
queryParams: {};
pathParams: {};
headers: {};
data: {};
};
/**
* 识别用户上传的护照首页图片中的文字信息,并返回识别的结构化结果。当前版本支持中国护照的全字段识别。外国护照支持护照下方两行国际标准化的机读码识别,并可从中提取6-7个关键字段信息。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product&#x3D;OCR&amp;api&#x3D;AutoClassification)服务。

@@ -507,2 +593,26 @@ */

/**
* 识别泰国身份证中的文字信息,并返回识别的结构化结果。
*/
recognizeThailandIdcard(recognizeThailandIdcardRequest?: RecognizeThailandIdcardRequest | undefined): {
method: string;
url: string;
contentType: string;
queryParams: {};
pathParams: {};
headers: {};
data: {};
};
/**
* 识别泰国车牌图片中的车牌信息,并返回识别的结构化结果。
*/
recognizeThailandLicensePlate(recognizeThailandLicensePlateRequest?: RecognizeThailandLicensePlateRequest | undefined): {
method: string;
url: string;
contentType: string;
queryParams: {};
pathParams: {};
headers: {};
data: {};
};
/**
* 识别车辆通行费发票中的文字信息,并返回识别的结构化结果。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product&#x3D;OCR&amp;api&#x3D;AutoClassification)服务。

@@ -509,0 +619,0 @@ */

@@ -12,2 +12,5 @@ export * from './OcrClient';

export * from './model/BusinessLicenseResult';
export * from './model/ChileIdCardConfidence';
export * from './model/ChileIdCardRequestBody';
export * from './model/ChileIdCardResult';
export * from './model/DriverLicenseRequestBody';

@@ -47,2 +50,8 @@ export * from './model/DriverLicenseResult';

export * from './model/MvsInvoiceResult';
export * from './model/MyanmarDriverLicenseConfidence';
export * from './model/MyanmarDriverLicenseRequestBody';
export * from './model/MyanmarDriverLicenseResult';
export * from './model/MyanmarIdcardConfidence';
export * from './model/MyanmarIdcardRequestBody';
export * from './model/MyanmarIdcardResult';
export * from './model/PassportRequestBody';

@@ -65,2 +74,4 @@ export * from './model/PassportResult';

export * from './model/RecognizeBusinessLicenseResponse';
export * from './model/RecognizeChileIdCardRequest';
export * from './model/RecognizeChileIdCardResponse';
export * from './model/RecognizeDriverLicenseRequest';

@@ -88,2 +99,6 @@ export * from './model/RecognizeDriverLicenseResponse';

export * from './model/RecognizeMvsInvoiceResponse';
export * from './model/RecognizeMyanmarDriverLicenseRequest';
export * from './model/RecognizeMyanmarDriverLicenseResponse';
export * from './model/RecognizeMyanmarIdcardRequest';
export * from './model/RecognizeMyanmarIdcardResponse';
export * from './model/RecognizePassportRequest';

@@ -97,2 +112,6 @@ export * from './model/RecognizePassportResponse';

export * from './model/RecognizeTaxiInvoiceResponse';
export * from './model/RecognizeThailandIdcardRequest';
export * from './model/RecognizeThailandIdcardResponse';
export * from './model/RecognizeThailandLicensePlateRequest';
export * from './model/RecognizeThailandLicensePlateResponse';
export * from './model/RecognizeTollInvoiceRequest';

@@ -114,2 +133,7 @@ export * from './model/RecognizeTollInvoiceResponse';

export * from './model/TaxiInvoiceResult';
export * from './model/ThailandIdcardConfidence';
export * from './model/ThailandIdcardRequestBody';
export * from './model/ThailandIdcardResult';
export * from './model/ThailandLicensePlateItem';
export * from './model/ThailandLicensePlateRequestBody';
export * from './model/TollInvoiceRequestBody';

@@ -116,0 +140,0 @@ export * from './model/TollInvoiceResult';

@@ -24,2 +24,5 @@ "use strict";

__exportStar(require("./model/BusinessLicenseResult"), exports);
__exportStar(require("./model/ChileIdCardConfidence"), exports);
__exportStar(require("./model/ChileIdCardRequestBody"), exports);
__exportStar(require("./model/ChileIdCardResult"), exports);
__exportStar(require("./model/DriverLicenseRequestBody"), exports);

@@ -59,2 +62,8 @@ __exportStar(require("./model/DriverLicenseResult"), exports);

__exportStar(require("./model/MvsInvoiceResult"), exports);
__exportStar(require("./model/MyanmarDriverLicenseConfidence"), exports);
__exportStar(require("./model/MyanmarDriverLicenseRequestBody"), exports);
__exportStar(require("./model/MyanmarDriverLicenseResult"), exports);
__exportStar(require("./model/MyanmarIdcardConfidence"), exports);
__exportStar(require("./model/MyanmarIdcardRequestBody"), exports);
__exportStar(require("./model/MyanmarIdcardResult"), exports);
__exportStar(require("./model/PassportRequestBody"), exports);

@@ -77,2 +86,4 @@ __exportStar(require("./model/PassportResult"), exports);

__exportStar(require("./model/RecognizeBusinessLicenseResponse"), exports);
__exportStar(require("./model/RecognizeChileIdCardRequest"), exports);
__exportStar(require("./model/RecognizeChileIdCardResponse"), exports);
__exportStar(require("./model/RecognizeDriverLicenseRequest"), exports);

@@ -100,2 +111,6 @@ __exportStar(require("./model/RecognizeDriverLicenseResponse"), exports);

__exportStar(require("./model/RecognizeMvsInvoiceResponse"), exports);
__exportStar(require("./model/RecognizeMyanmarDriverLicenseRequest"), exports);
__exportStar(require("./model/RecognizeMyanmarDriverLicenseResponse"), exports);
__exportStar(require("./model/RecognizeMyanmarIdcardRequest"), exports);
__exportStar(require("./model/RecognizeMyanmarIdcardResponse"), exports);
__exportStar(require("./model/RecognizePassportRequest"), exports);

@@ -109,2 +124,6 @@ __exportStar(require("./model/RecognizePassportResponse"), exports);

__exportStar(require("./model/RecognizeTaxiInvoiceResponse"), exports);
__exportStar(require("./model/RecognizeThailandIdcardRequest"), exports);
__exportStar(require("./model/RecognizeThailandIdcardResponse"), exports);
__exportStar(require("./model/RecognizeThailandLicensePlateRequest"), exports);
__exportStar(require("./model/RecognizeThailandLicensePlateResponse"), exports);
__exportStar(require("./model/RecognizeTollInvoiceRequest"), exports);

@@ -126,2 +145,7 @@ __exportStar(require("./model/RecognizeTollInvoiceResponse"), exports);

__exportStar(require("./model/TaxiInvoiceResult"), exports);
__exportStar(require("./model/ThailandIdcardConfidence"), exports);
__exportStar(require("./model/ThailandIdcardRequestBody"), exports);
__exportStar(require("./model/ThailandIdcardResult"), exports);
__exportStar(require("./model/ThailandLicensePlateItem"), exports);
__exportStar(require("./model/ThailandLicensePlateRequestBody"), exports);
__exportStar(require("./model/TollInvoiceRequestBody"), exports);

@@ -128,0 +152,0 @@ __exportStar(require("./model/TollInvoiceResult"), exports);

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc