tencentcloud-sdk-nodejs-ocr 4.0.584 → 4.0.586

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.
@@ -1831,6 +1831,39 @@ export interface TrainTicketOCRResponse {
1831
1831
  */
1832
1832
  RequestId?: string;
1833
1833
  }
1834
+ /**
1835
+ * RecognizePhilippinesTinIDOCR返回参数结构体
1836
+ */
1837
+ export interface RecognizePhilippinesTinIDOCRResponse {
1838
+ /**
1839
+ * 人像照片Base64后的结果
1840
+ */
1841
+ HeadPortrait: TextDetectionResult;
1842
+ /**
1843
+ * 编码
1844
+ */
1845
+ LicenseNumber: TextDetectionResult;
1846
+ /**
1847
+ * 姓名
1848
+ */
1849
+ FullName: TextDetectionResult;
1850
+ /**
1851
+ * 地址
1852
+ */
1853
+ Address: TextDetectionResult;
1854
+ /**
1855
+ * 生日
1856
+ */
1857
+ Birthday: TextDetectionResult;
1858
+ /**
1859
+ * 发证日期
1860
+ */
1861
+ IssueDate: TextDetectionResult;
1862
+ /**
1863
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1864
+ */
1865
+ RequestId?: string;
1866
+ }
1834
1867
  /**
1835
1868
  * 过路过桥费字段信息
1836
1869
  */
@@ -2464,32 +2497,28 @@ export interface VehicleLicenseOCRResponse {
2464
2497
  RequestId?: string;
2465
2498
  }
2466
2499
  /**
2467
- * VatInvoiceOCR请求参数结构体
2500
+ * RecognizePhilippinesSssIDOCR请求参数结构体
2468
2501
  */
2469
- export interface VatInvoiceOCRRequest {
2502
+ export interface RecognizePhilippinesSssIDOCRRequest {
2470
2503
  /**
2471
- * 图片/PDF的 Base64 值。
2472
- 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
2473
- 支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
2474
- 输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2504
+ * 是否返回人像照片。
2505
+ */
2506
+ ReturnHeadImage: boolean;
2507
+ /**
2508
+ * 图片的 Base64 值。
2509
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2510
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
2511
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2475
2512
  */
2476
2513
  ImageBase64?: string;
2477
2514
  /**
2478
- * 图片/PDF的 Url 地址。
2479
- 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
2480
- 支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
2515
+ * 图片的 Url 地址。
2516
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2517
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
2481
2518
  图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
2482
2519
  非腾讯云存储的 Url 速度和稳定性可能受一定影响。
2483
2520
  */
2484
2521
  ImageUrl?: string;
2485
- /**
2486
- * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
2487
- */
2488
- IsPdf?: boolean;
2489
- /**
2490
- * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
2491
- */
2492
- PdfPageNumber?: number;
2493
2522
  }
2494
2523
  /**
2495
2524
  * key信息组
@@ -2903,6 +2932,31 @@ export interface VatInvoiceVerifyNewResponse {
2903
2932
  */
2904
2933
  RequestId?: string;
2905
2934
  }
2935
+ /**
2936
+ * RecognizePhilippinesSssIDOCR返回参数结构体
2937
+ */
2938
+ export interface RecognizePhilippinesSssIDOCRResponse {
2939
+ /**
2940
+ * 人像照片Base64后的结果
2941
+ */
2942
+ HeadPortrait: TextDetectionResult;
2943
+ /**
2944
+ * 编号
2945
+ */
2946
+ LicenseNumber: TextDetectionResult;
2947
+ /**
2948
+ * 姓名
2949
+ */
2950
+ FullName: TextDetectionResult;
2951
+ /**
2952
+ * 生日
2953
+ */
2954
+ Birthday: TextDetectionResult;
2955
+ /**
2956
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2957
+ */
2958
+ RequestId?: string;
2959
+ }
2906
2960
  /**
2907
2961
  * TaxiInvoiceOCR请求参数结构体
2908
2962
  */
@@ -6350,6 +6404,34 @@ export interface VinOCRRequest {
6350
6404
  */
6351
6405
  ImageUrl?: string;
6352
6406
  }
6407
+ /**
6408
+ * VatInvoiceOCR请求参数结构体
6409
+ */
6410
+ export interface VatInvoiceOCRRequest {
6411
+ /**
6412
+ * 图片/PDF的 Base64 值。
6413
+ 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
6414
+ 支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
6415
+ 输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
6416
+ */
6417
+ ImageBase64?: string;
6418
+ /**
6419
+ * 图片/PDF的 Url 地址。
6420
+ 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
6421
+ 支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
6422
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
6423
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6424
+ */
6425
+ ImageUrl?: string;
6426
+ /**
6427
+ * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
6428
+ */
6429
+ IsPdf?: boolean;
6430
+ /**
6431
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
6432
+ */
6433
+ PdfPageNumber?: number;
6434
+ }
6353
6435
  /**
6354
6436
  * RideHailingTransportLicenseOCR请求参数结构体
6355
6437
  */
@@ -6427,6 +6509,30 @@ export interface MLIDCardOCRResponse {
6427
6509
  */
6428
6510
  RequestId?: string;
6429
6511
  }
6512
+ /**
6513
+ * RecognizePhilippinesTinIDOCR请求参数结构体
6514
+ */
6515
+ export interface RecognizePhilippinesTinIDOCRRequest {
6516
+ /**
6517
+ * 是否返回人像照片。
6518
+ */
6519
+ ReturnHeadImage: boolean;
6520
+ /**
6521
+ * 图片的 Base64 值。
6522
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
6523
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
6524
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
6525
+ */
6526
+ ImageBase64?: string;
6527
+ /**
6528
+ * 图片的 Url 地址。
6529
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
6530
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
6531
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
6532
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6533
+ */
6534
+ ImageUrl?: string;
6535
+ }
6430
6536
  /**
6431
6537
  * RecognizeTableOCR请求参数结构体
6432
6538
  */