tencentcloud-sdk-nodejs-ocr 4.1.148 → 4.1.154
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
CHANGED
|
@@ -446,15 +446,15 @@ export interface CarInvoiceOCRRequest {
|
|
|
446
446
|
*/
|
|
447
447
|
export interface ExtractDocMultiRequest {
|
|
448
448
|
/**
|
|
449
|
-
*
|
|
449
|
+
* 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
450
450
|
*/
|
|
451
451
|
ImageUrl?: string;
|
|
452
452
|
/**
|
|
453
|
-
*
|
|
453
|
+
* 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
454
454
|
*/
|
|
455
455
|
ImageBase64?: string;
|
|
456
456
|
/**
|
|
457
|
-
* 需要识别的PDF页面的对应页码,仅支持PDF
|
|
457
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为前3页。
|
|
458
458
|
*/
|
|
459
459
|
PdfPageNumber?: number;
|
|
460
460
|
/**
|
|
@@ -523,11 +523,11 @@ export interface ExtractDocMultiRequest {
|
|
|
523
523
|
*/
|
|
524
524
|
export interface QuestionSplitLayoutOCRRequest {
|
|
525
525
|
/**
|
|
526
|
-
*
|
|
526
|
+
* 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
527
527
|
*/
|
|
528
528
|
ImageUrl?: string;
|
|
529
529
|
/**
|
|
530
|
-
*
|
|
530
|
+
* 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
531
531
|
*/
|
|
532
532
|
ImageBase64?: string;
|
|
533
533
|
/**
|
|
@@ -630,11 +630,11 @@ export interface EstateCertOCRResponse {
|
|
|
630
630
|
*/
|
|
631
631
|
export interface ExtractDocMultiProRequest {
|
|
632
632
|
/**
|
|
633
|
-
*
|
|
633
|
+
* 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
634
634
|
*/
|
|
635
635
|
ImageUrl?: string;
|
|
636
636
|
/**
|
|
637
|
-
*
|
|
637
|
+
* 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
638
638
|
*/
|
|
639
639
|
ImageBase64?: string;
|
|
640
640
|
/**
|
|
@@ -1261,11 +1261,11 @@ export interface CustomsPaymentReceipt {
|
|
|
1261
1261
|
*/
|
|
1262
1262
|
export interface QuestionSplitOCRRequest {
|
|
1263
1263
|
/**
|
|
1264
|
-
*
|
|
1264
|
+
* 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
1265
1265
|
*/
|
|
1266
1266
|
ImageUrl?: string;
|
|
1267
1267
|
/**
|
|
1268
|
-
*
|
|
1268
|
+
* 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
1269
1269
|
*/
|
|
1270
1270
|
ImageBase64?: string;
|
|
1271
1271
|
/**
|
|
@@ -3663,6 +3663,22 @@ export interface ElectronicAirTransport {
|
|
|
3663
3663
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3664
3664
|
*/
|
|
3665
3665
|
ElectronicAirTransportDetails?: Array<ElectronicAirTransportDetail>;
|
|
3666
|
+
/**
|
|
3667
|
+
* 票价
|
|
3668
|
+
*/
|
|
3669
|
+
Fare?: string;
|
|
3670
|
+
/**
|
|
3671
|
+
* 燃油附加费
|
|
3672
|
+
*/
|
|
3673
|
+
FuelSurcharge?: string;
|
|
3674
|
+
/**
|
|
3675
|
+
* 增值税税额
|
|
3676
|
+
*/
|
|
3677
|
+
TaxAmount?: string;
|
|
3678
|
+
/**
|
|
3679
|
+
* 民航发展基金
|
|
3680
|
+
*/
|
|
3681
|
+
DevelopmentFund?: string;
|
|
3666
3682
|
}
|
|
3667
3683
|
/**
|
|
3668
3684
|
* ClassifyDetectOCR请求参数结构体
|
|
@@ -3777,11 +3793,11 @@ export interface LicensePlateOCRResponse {
|
|
|
3777
3793
|
*/
|
|
3778
3794
|
export interface ExtractDocBasicRequest {
|
|
3779
3795
|
/**
|
|
3780
|
-
*
|
|
3796
|
+
* 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
3781
3797
|
*/
|
|
3782
3798
|
ImageUrl?: string;
|
|
3783
3799
|
/**
|
|
3784
|
-
*
|
|
3800
|
+
* 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
3785
3801
|
*/
|
|
3786
3802
|
ImageBase64?: string;
|
|
3787
3803
|
/**
|
|
@@ -3805,6 +3821,7 @@ export interface ExtractDocBasicRequest {
|
|
|
3805
3821
|
/**
|
|
3806
3822
|
* 配置id支持:
|
|
3807
3823
|
General -- 通用场景
|
|
3824
|
+
GeneralNoDate -- 无后处理日期格式模版
|
|
3808
3825
|
OnlineTaxiItinerary -- 网约车行程单
|
|
3809
3826
|
RideHailingDriverLicense -- 网约车驾驶证
|
|
3810
3827
|
RideHailingTransportLicense -- 网约车运输证
|
|
@@ -7389,11 +7406,11 @@ export interface FinanBillOCRResponse {
|
|
|
7389
7406
|
*/
|
|
7390
7407
|
export interface HandwritingEssayOCRRequest {
|
|
7391
7408
|
/**
|
|
7392
|
-
*
|
|
7409
|
+
* 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
7393
7410
|
*/
|
|
7394
7411
|
ImageUrl?: string;
|
|
7395
7412
|
/**
|
|
7396
|
-
*
|
|
7413
|
+
* 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
7397
7414
|
*/
|
|
7398
7415
|
ImageBase64?: string;
|
|
7399
7416
|
/**
|
|
@@ -8873,7 +8890,7 @@ export interface RecognizeTableAccurateOCRResponse {
|
|
|
8873
8890
|
*/
|
|
8874
8891
|
PdfPageSize?: number;
|
|
8875
8892
|
/**
|
|
8876
|
-
* 图片旋转角度(角度制),文本的水平方向为0
|
|
8893
|
+
* 图片旋转角度(角度制),文本的水平方向为0°。
|
|
8877
8894
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8878
8895
|
*/
|
|
8879
8896
|
Angle?: number;
|
|
@@ -10404,11 +10421,11 @@ export interface Element {
|
|
|
10404
10421
|
*/
|
|
10405
10422
|
export interface SubmitExtractDocAgentJobRequest {
|
|
10406
10423
|
/**
|
|
10407
|
-
* 图片/PDF的 Base64
|
|
10424
|
+
* 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
10408
10425
|
*/
|
|
10409
10426
|
ImageBase64?: string;
|
|
10410
10427
|
/**
|
|
10411
|
-
* 图片/PDF的 Url
|
|
10428
|
+
* 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
10412
10429
|
*/
|
|
10413
10430
|
ImageUrl?: string;
|
|
10414
10431
|
/**
|