tencentcloud-sdk-nodejs-ocr 4.1.224 → 4.1.225

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.
@@ -36,6 +36,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
36
36
  async RecognizeValidIDCardOCR(req, cb) {
37
37
  return this.request("RecognizeValidIDCardOCR", req, cb);
38
38
  }
39
+ async VerifyScenePhoto(req, cb) {
40
+ return this.request("VerifyScenePhoto", req, cb);
41
+ }
39
42
  async InvoiceGeneralOCR(req, cb) {
40
43
  return this.request("InvoiceGeneralOCR", req, cb);
41
44
  }
@@ -129,6 +132,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
129
132
  async EduPaperOCR(req, cb) {
130
133
  return this.request("EduPaperOCR", req, cb);
131
134
  }
135
+ async RecognizeAgent(req, cb) {
136
+ return this.request("RecognizeAgent", req, cb);
137
+ }
132
138
  async EnterpriseLicenseOCR(req, cb) {
133
139
  return this.request("EnterpriseLicenseOCR", req, cb);
134
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ocr",
3
- "version": "4.1.224",
3
+ "version": "4.1.225",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, SubmitQuestionMarkAgentJobRequest, DriverLicenseOCRRequest, VerifyBizLicenseEnterprise4Response, TollInvoiceOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, RecognizeTravelCardOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, ExtractDocAgentResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, MLIDCardOCRRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, RecognizeHealthCodeOCRResponse, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitQuestionMarkAgentJobResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, SmartStructuralOCRResponse, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, DescribeQuestionMarkAgentJobRequest, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, VerifyBizLicenseEnterprise4Request, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, TrainTicketOCRRequest, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, SubmitExtractDocAgentJobRequest, ExtractDocAgentRequest, AdvertiseOCRResponse, RecognizeTravelCardOCRResponse, VatRollInvoiceOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, RecognizeStoreNameResponse, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, VatInvoiceVerifyNewResponse, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeValidIDCardOCRResponse, DescribeMarkEssayAgentJobRequest, GeneralFastOCRResponse } from "./ocr_models";
2
+ import { BankSlipOCRRequest, HKIDCardOCRRequest, DescribeQuestionMarkAgentJobResponse, RecognizeTravelCardOCRRequest, EstateCertOCRResponse, RecognizeTableOCRRequest, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, InvoiceGeneralOCRRequest, RecognizeFormulaOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, BizLicenseOCRRequest, RecognizeGeneralInvoiceRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TaxiInvoiceOCRRequest, VerifyScenePhotoRequest, ImageEnhancementResponse, LicensePlateOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, ClassifyStoreNameResponse, HandwritingEssayOCRRequest, VinOCRResponse, MLIDCardOCRRequest, DescribeExtractDocAgentJobResponse, RecognizeFormulaOCRResponse, QuotaInvoiceOCRResponse, ResidenceBookletOCRRequest, InsuranceBillOCRRequest, QrcodeOCRRequest, SubmitExtractDocAgentJobRequest, ExtractDocAgentRequest, SmartStructuralOCRResponse, IDCardOCRRequest, GetOCRTokenRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, ShipInvoiceOCRRequest, BusinessCardOCRRequest, VerifyBizLicenseEnterprise4Response, GeneralFastOCRResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, MLIDPassportOCRRequest, VehicleLicenseOCRRequest, QuestionOCRResponse, SubmitQuestionMarkAgentJobRequest, QuestionSplitOCRResponse, TrainTicketOCRResponse, RecognizeGeneralCardWarnRequest, GeneralHandwritingOCRRequest, TaxiInvoiceOCRResponse, VinOCRRequest, QuotaInvoiceOCRRequest, TollInvoiceOCRRequest, VerifyScenePhotoResponse, VatRollInvoiceOCRResponse, RecognizeThaiIDCardOCRRequest, RecognizeEncryptedIDCardOCRRequest, SubmitMarkEssayAgentJobRequest, TrainTicketOCRRequest, ExtractDocBasicResponse, EnglishOCRRequest, FlightInvoiceOCRResponse, ArithmeticOCRRequest, MLIDPassportOCRResponse, DescribeExtractDocAgentJobRequest, SealOCRResponse, EduPaperOCRRequest, PassportOCRRequest, RideHailingDriverLicenseOCRRequest, MixedInvoiceOCRRequest, HandwritingEssayOCRResponse, VerifyBizLicenseEnterprise4Request, QuestionOCRRequest, VehicleRegCertOCRResponse, RecognizeTableAccurateOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, BusInvoiceOCRRequest, RecognizeContainerOCRResponse, TableOCRResponse, AdvertiseOCRResponse, RecognizeOnlineTaxiItineraryOCRRequest, EstateCertOCRRequest, FinanBillOCRRequest, DescribeMarkEssayAgentJobRequest, RecognizeOnlineTaxiItineraryOCRResponse, ClassifyDetectOCRResponse, CarInvoiceOCRRequest, TextDetectResponse, VatInvoiceVerifyNewRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, RecognizeStoreNameRequest, FormulaOCRResponse, DescribeQuestionMarkAgentJobRequest, GeneralEfficientOCRResponse, HmtResidentPermitOCRRequest, GeneralBasicOCRResponse, PermitOCRRequest, BankCardOCRRequest, ExtractDocAgentResponse, VatInvoiceOCRRequest, IDCardOCRResponse, LicensePlateOCRResponse, ExtractDocBasicRequest, VatInvoiceVerifyNewResponse, ExtractDocMultiResponse, TextDetectRequest, ResidenceBookletOCRResponse, QuestionSplitLayoutOCRResponse, GeneralBasicOCRRequest, TollInvoiceOCRResponse, EnterpriseLicenseOCRRequest, GeneralAccurateOCRRequest, FinanBillSliceOCRRequest, VatRollInvoiceOCRRequest, SmartStructuralOCRRequest, RecognizeMedicalInvoiceOCRRequest, PermitOCRResponse, FormulaOCRRequest, DutyPaidProofOCRRequest, CarInvoiceOCRResponse, GeneralFastOCRRequest, VerifyOfdVatInvoiceOCRResponse, BusInvoiceOCRResponse, ExtractDocMultiProRequest, RideHailingTransportLicenseOCRResponse, GeneralHandwritingOCRResponse, RecognizeAgentRequest, MixedInvoiceDetectRequest, BankCardOCRResponse, RecognizeValidIDCardOCRResponse, BusinessCardOCRResponse, VehicleRegCertOCRRequest, EnglishOCRResponse, AdvertiseOCRRequest, GetOCRTokenResponse, ClassifyStoreNameRequest, DriverLicenseOCRRequest, MainlandPermitOCRRequest, ArithmeticOCRResponse, ExtractDocMultiProResponse, MixedInvoiceDetectResponse, RecognizeAgentResponse, GeneralAccurateOCRResponse, GetOCRResultRequest, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, VehicleLicenseOCRResponse, WaybillOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, InvoiceGeneralOCRResponse, SubmitExtractDocAgentJobResponse, RecognizeContainerOCRRequest, EduPaperOCRResponse, TableOCRRequest, RecognizeTravelCardOCRResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, PassportOCRResponse, VerifyOfdVatInvoiceOCRRequest, RecognizeGeneralCardWarnResponse, RecognizeTableAccurateOCRRequest, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, QuestionSplitOCRRequest, RecognizeHealthCodeOCRResponse, RecognizeEncryptedIDCardOCRResponse, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, InsuranceBillOCRResponse, SealOCRRequest, SubmitQuestionMarkAgentJobResponse, FlightInvoiceOCRRequest, WaybillOCRRequest, RecognizeStoreNameResponse, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse } from "./ocr_models";
3
3
  /**
4
4
  * ocr client
5
5
  * @class
@@ -177,6 +177,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
177
177
  默认接口请求频率限制:5次/秒。
178
178
  */
179
179
  RecognizeValidIDCardOCR(req: RecognizeValidIDCardOCRRequest, cb?: (error: string, rep: RecognizeValidIDCardOCRResponse) => void): Promise<RecognizeValidIDCardOCRResponse>;
180
+ /**
181
+ * 提供针对特定场景(如商户门头照、车牌等)图片的PS篡改、AIGC合成、图片质量检测能力,可应用于业务流程中对特定场景图片真实性、有效性校验的场景。
182
+ */
183
+ VerifyScenePhoto(req: VerifyScenePhotoRequest, cb?: (error: string, rep: VerifyScenePhotoResponse) => void): Promise<VerifyScenePhotoResponse>;
180
184
  /**
181
185
  * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
182
186
  本接口支持对通用机打发票的发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、购买方地址、电话、销售方地址、电话、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、货物或应税劳务、服务名称、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类等字段的识别。
@@ -629,6 +633,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
629
633
  默认接口请求频率限制:5次/秒。
630
634
  */
631
635
  EduPaperOCR(req: EduPaperOCRRequest, cb?: (error: string, rep: EduPaperOCRResponse) => void): Promise<EduPaperOCRResponse>;
636
+ /**
637
+ * 支持对输入图的内容进行判断、分类以及总结;支持用户对通用文字识别输出结构进行自定义。
638
+ */
639
+ RecognizeAgent(req: RecognizeAgentRequest, cb?: (error: string, rep: RecognizeAgentResponse) => void): Promise<RecognizeAgentResponse>;
632
640
  /**
633
641
  * 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围、成立日期、有效期、开办资金、经费来源、举办单位等关键字段。
634
642
 
@@ -221,6 +221,12 @@ class Client extends TencentCloudCommon.AbstractClient {
221
221
  async RecognizeValidIDCardOCR(req, cb) {
222
222
  return this.request("RecognizeValidIDCardOCR", req, cb);
223
223
  }
224
+ /**
225
+ * 提供针对特定场景(如商户门头照、车牌等)图片的PS篡改、AIGC合成、图片质量检测能力,可应用于业务流程中对特定场景图片真实性、有效性校验的场景。
226
+ */
227
+ async VerifyScenePhoto(req, cb) {
228
+ return this.request("VerifyScenePhoto", req, cb);
229
+ }
224
230
  /**
225
231
  * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
226
232
  本接口支持对通用机打发票的发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、购买方地址、电话、销售方地址、电话、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、货物或应税劳务、服务名称、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类等字段的识别。
@@ -735,6 +741,12 @@ class Client extends TencentCloudCommon.AbstractClient {
735
741
  async EduPaperOCR(req, cb) {
736
742
  return this.request("EduPaperOCR", req, cb);
737
743
  }
744
+ /**
745
+ * 支持对输入图的内容进行判断、分类以及总结;支持用户对通用文字识别输出结构进行自定义。
746
+ */
747
+ async RecognizeAgent(req, cb) {
748
+ return this.request("RecognizeAgent", req, cb);
749
+ }
738
750
  /**
739
751
  * 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围、成立日期、有效期、开办资金、经费来源、举办单位等关键字段。
740
752