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.34-rc to 3.0.35-rc

4

package.json
{
"name": "@huaweicloud/huaweicloud-sdk-ocr",
"version": "3.0.34-rc",
"version": "3.0.35-rc",
"description": "Huaweicloud SDK for ocr",

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

"dependencies": {
"@huaweicloud/huaweicloud-sdk-core": "^3.0.34-rc"
"@huaweicloud/huaweicloud-sdk-core": "^3.0.35-rc"
}
}

@@ -6,2 +6,3 @@ export declare class DriverLicenseRequestBody {

private 'return_issuing_authority'?;
private 'return_text_location'?;
constructor();

@@ -14,2 +15,5 @@ withImage(image: string): DriverLicenseRequestBody;

get returnIssuingAuthority(): boolean | undefined;
withReturnTextLocation(returnTextLocation: boolean): DriverLicenseRequestBody;
set returnTextLocation(returnTextLocation: boolean | undefined);
get returnTextLocation(): boolean | undefined;
}

@@ -33,4 +33,18 @@ "use strict";

});
DriverLicenseRequestBody.prototype.withReturnTextLocation = function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
return this;
};
Object.defineProperty(DriverLicenseRequestBody.prototype, "returnTextLocation", {
get: function () {
return this['return_text_location'];
},
set: function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
},
enumerable: false,
configurable: true
});
return DriverLicenseRequestBody;
}());
exports.DriverLicenseRequestBody = DriverLicenseRequestBody;

@@ -15,2 +15,3 @@ export declare class DriverLicenseResult {

record?: string;
private 'text_location'?;
constructor();

@@ -44,2 +45,5 @@ withModelNumber(modelNumber: string): DriverLicenseResult;

withRecord(record: string): DriverLicenseResult;
withTextLocation(textLocation: object): DriverLicenseResult;
set textLocation(textLocation: object | undefined);
get textLocation(): object | undefined;
}

@@ -129,4 +129,18 @@ "use strict";

};
DriverLicenseResult.prototype.withTextLocation = function (textLocation) {
this['text_location'] = textLocation;
return this;
};
Object.defineProperty(DriverLicenseResult.prototype, "textLocation", {
get: function () {
return this['text_location'];
},
set: function (textLocation) {
this['text_location'] = textLocation;
},
enumerable: false,
configurable: true
});
return DriverLicenseResult;
}());
exports.DriverLicenseResult = DriverLicenseResult;

@@ -6,2 +6,3 @@ export declare class IdCardRequestBody {

private 'return_verification'?;
private 'return_text_location'?;
constructor();

@@ -14,2 +15,5 @@ withImage(image: string): IdCardRequestBody;

get returnVerification(): boolean | undefined;
withReturnTextLocation(returnTextLocation: boolean): IdCardRequestBody;
set returnTextLocation(returnTextLocation: boolean | undefined);
get returnTextLocation(): boolean | undefined;
}

@@ -33,4 +33,18 @@ "use strict";

});
IdCardRequestBody.prototype.withReturnTextLocation = function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
return this;
};
Object.defineProperty(IdCardRequestBody.prototype, "returnTextLocation", {
get: function () {
return this['return_text_location'];
},
set: function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
},
enumerable: false,
configurable: true
});
return IdCardRequestBody;
}());
exports.IdCardRequestBody = IdCardRequestBody;

@@ -13,2 +13,3 @@ import { IdcardVerificationResult } from './IdcardVerificationResult';

private 'verification_result'?;
private 'text_location'?;
constructor();

@@ -33,2 +34,5 @@ withName(name: string): IdCardResult;

get verificationResult(): IdcardVerificationResult | undefined;
withTextLocation(textLocation: object): IdCardResult;
set textLocation(textLocation: object | undefined);
get textLocation(): object | undefined;
}

@@ -87,4 +87,18 @@ "use strict";

});
IdCardResult.prototype.withTextLocation = function (textLocation) {
this['text_location'] = textLocation;
return this;
};
Object.defineProperty(IdCardResult.prototype, "textLocation", {
get: function () {
return this['text_location'];
},
set: function (textLocation) {
this['text_location'] = textLocation;
},
enumerable: false,
configurable: true
});
return IdCardResult;
}());
exports.IdCardResult = IdCardResult;

@@ -5,2 +5,3 @@ export declare class VatInvoiceRequestBody {

private 'advanced_mode'?;
private 'return_text_location'?;
constructor();

@@ -12,2 +13,5 @@ withImage(image: string): VatInvoiceRequestBody;

get advancedMode(): boolean | undefined;
withReturnTextLocation(returnTextLocation: boolean): VatInvoiceRequestBody;
set returnTextLocation(returnTextLocation: boolean | undefined);
get returnTextLocation(): boolean | undefined;
}

@@ -29,4 +29,18 @@ "use strict";

});
VatInvoiceRequestBody.prototype.withReturnTextLocation = function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
return this;
};
Object.defineProperty(VatInvoiceRequestBody.prototype, "returnTextLocation", {
get: function () {
return this['return_text_location'];
},
set: function (returnTextLocation) {
this['return_text_location'] = returnTextLocation;
},
enumerable: false,
configurable: true
});
return VatInvoiceRequestBody;
}());
exports.VatInvoiceRequestBody = VatInvoiceRequestBody;

@@ -33,2 +33,3 @@ import { ItemList } from './ItemList';

confidence?: object;
private 'text_location'?;
constructor();

@@ -107,2 +108,5 @@ withType(type: string): VatInvoiceResult;

withConfidence(confidence: object): VatInvoiceResult;
withTextLocation(textLocation: object): VatInvoiceResult;
set textLocation(textLocation: object | undefined);
get textLocation(): object | undefined;
}

@@ -337,4 +337,18 @@ "use strict";

};
VatInvoiceResult.prototype.withTextLocation = function (textLocation) {
this['text_location'] = textLocation;
return this;
};
Object.defineProperty(VatInvoiceResult.prototype, "textLocation", {
get: function () {
return this['text_location'];
},
set: function (textLocation) {
this['text_location'] = textLocation;
},
enumerable: false,
configurable: true
});
return VatInvoiceResult;
}());
exports.VatInvoiceResult = VatInvoiceResult;

@@ -159,3 +159,3 @@ import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";

/**
* 识别身份证图片中的文字内容,并将识别的结果返回给用户。 说明: 身份证识别只支持中国大陆汉族身份证识别。 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。
* 识别身份证图片中的文字内容,并将识别的结果返回给用户。 说明: 身份证识别支持中华人民共和国居民身份证识别。 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。
* @summary 身份证识别

@@ -454,3 +454,3 @@ * @param {IdCardRequestBody} idCardRequestBody This is a idcard Body Object

/**
* 识别身份证图片中的文字内容,并将识别的结果返回给用户。 说明: 身份证识别只支持中国大陆汉族身份证识别。 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。
* 识别身份证图片中的文字内容,并将识别的结果返回给用户。 说明: 身份证识别支持中华人民共和国居民身份证识别。 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。
*/

@@ -457,0 +457,0 @@ recognizeIdCard(recognizeIdCardRequest?: RecognizeIdCardRequest | undefined): {

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