tencentcloud-sdk-nodejs-ocr 4.1.8 → 4.1.10
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.
@@ -3,11 +3,38 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
3
3
|
constructor(clientConfig) {
|
4
4
|
super("ocr.tencentcloudapi.com", "2018-11-19", clientConfig);
|
5
5
|
}
|
6
|
-
async
|
7
|
-
return this.request("
|
6
|
+
async InsuranceBillOCR(req, cb) {
|
7
|
+
return this.request("InsuranceBillOCR", req, cb);
|
8
8
|
}
|
9
|
-
async
|
10
|
-
return this.request("
|
9
|
+
async ImageEnhancement(req, cb) {
|
10
|
+
return this.request("ImageEnhancement", req, cb);
|
11
|
+
}
|
12
|
+
async QuestionSplitOCR(req, cb) {
|
13
|
+
return this.request("QuestionSplitOCR", req, cb);
|
14
|
+
}
|
15
|
+
async SmartStructuralOCRV2(req, cb) {
|
16
|
+
return this.request("SmartStructuralOCRV2", req, cb);
|
17
|
+
}
|
18
|
+
async EnterpriseLicenseOCR(req, cb) {
|
19
|
+
return this.request("EnterpriseLicenseOCR", req, cb);
|
20
|
+
}
|
21
|
+
async BusinessCardOCR(req, cb) {
|
22
|
+
return this.request("BusinessCardOCR", req, cb);
|
23
|
+
}
|
24
|
+
async RecognizeOnlineTaxiItineraryOCR(req, cb) {
|
25
|
+
return this.request("RecognizeOnlineTaxiItineraryOCR", req, cb);
|
26
|
+
}
|
27
|
+
async IDCardOCR(req, cb) {
|
28
|
+
return this.request("IDCardOCR", req, cb);
|
29
|
+
}
|
30
|
+
async TollInvoiceOCR(req, cb) {
|
31
|
+
return this.request("TollInvoiceOCR", req, cb);
|
32
|
+
}
|
33
|
+
async MLIDCardOCR(req, cb) {
|
34
|
+
return this.request("MLIDCardOCR", req, cb);
|
35
|
+
}
|
36
|
+
async VatInvoiceVerifyNew(req, cb) {
|
37
|
+
return this.request("VatInvoiceVerifyNew", req, cb);
|
11
38
|
}
|
12
39
|
async QrcodeOCR(req, cb) {
|
13
40
|
return this.request("QrcodeOCR", req, cb);
|
@@ -15,161 +42,134 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
15
42
|
async GeneralAccurateOCR(req, cb) {
|
16
43
|
return this.request("GeneralAccurateOCR", req, cb);
|
17
44
|
}
|
45
|
+
async FlightInvoiceOCR(req, cb) {
|
46
|
+
return this.request("FlightInvoiceOCR", req, cb);
|
47
|
+
}
|
18
48
|
async RecognizeContainerOCR(req, cb) {
|
19
49
|
return this.request("RecognizeContainerOCR", req, cb);
|
20
50
|
}
|
51
|
+
async RecognizeTableAccurateOCR(req, cb) {
|
52
|
+
return this.request("RecognizeTableAccurateOCR", req, cb);
|
53
|
+
}
|
21
54
|
async RecognizeEncryptedIDCardOCR(req, cb) {
|
22
55
|
return this.request("RecognizeEncryptedIDCardOCR", req, cb);
|
23
56
|
}
|
57
|
+
async MixedInvoiceDetect(req, cb) {
|
58
|
+
return this.request("MixedInvoiceDetect", req, cb);
|
59
|
+
}
|
60
|
+
async VehicleRegCertOCR(req, cb) {
|
61
|
+
return this.request("VehicleRegCertOCR", req, cb);
|
62
|
+
}
|
63
|
+
async ShipInvoiceOCR(req, cb) {
|
64
|
+
return this.request("ShipInvoiceOCR", req, cb);
|
65
|
+
}
|
24
66
|
async RecognizeStoreName(req, cb) {
|
25
67
|
return this.request("RecognizeStoreName", req, cb);
|
26
68
|
}
|
27
69
|
async MLIDPassportOCR(req, cb) {
|
28
70
|
return this.request("MLIDPassportOCR", req, cb);
|
29
71
|
}
|
30
|
-
async
|
31
|
-
return this.request("
|
72
|
+
async VatRollInvoiceOCR(req, cb) {
|
73
|
+
return this.request("VatRollInvoiceOCR", req, cb);
|
32
74
|
}
|
33
|
-
async
|
34
|
-
return this.request("
|
75
|
+
async QuotaInvoiceOCR(req, cb) {
|
76
|
+
return this.request("QuotaInvoiceOCR", req, cb);
|
35
77
|
}
|
36
|
-
async
|
37
|
-
return this.request("
|
78
|
+
async WaybillOCR(req, cb) {
|
79
|
+
return this.request("WaybillOCR", req, cb);
|
38
80
|
}
|
39
|
-
async
|
40
|
-
return this.request("
|
81
|
+
async VinOCR(req, cb) {
|
82
|
+
return this.request("VinOCR", req, cb);
|
41
83
|
}
|
42
|
-
async
|
43
|
-
return this.request("
|
84
|
+
async GeneralFastOCR(req, cb) {
|
85
|
+
return this.request("GeneralFastOCR", req, cb);
|
44
86
|
}
|
45
|
-
async
|
46
|
-
return this.request("
|
87
|
+
async PropOwnerCertOCR(req, cb) {
|
88
|
+
return this.request("PropOwnerCertOCR", req, cb);
|
47
89
|
}
|
48
|
-
async
|
49
|
-
return this.request("
|
90
|
+
async SmartStructuralPro(req, cb) {
|
91
|
+
return this.request("SmartStructuralPro", req, cb);
|
50
92
|
}
|
51
|
-
async
|
52
|
-
return this.request("
|
93
|
+
async BizLicenseOCR(req, cb) {
|
94
|
+
return this.request("BizLicenseOCR", req, cb);
|
53
95
|
}
|
54
|
-
async
|
55
|
-
return this.request("
|
96
|
+
async GeneralHandwritingOCR(req, cb) {
|
97
|
+
return this.request("GeneralHandwritingOCR", req, cb);
|
56
98
|
}
|
57
|
-
async
|
58
|
-
return this.request("
|
99
|
+
async QuestionOCR(req, cb) {
|
100
|
+
return this.request("QuestionOCR", req, cb);
|
59
101
|
}
|
60
102
|
async TaxiInvoiceOCR(req, cb) {
|
61
103
|
return this.request("TaxiInvoiceOCR", req, cb);
|
62
104
|
}
|
63
|
-
async
|
64
|
-
return this.request("
|
65
|
-
}
|
66
|
-
async RecognizeForeignPermanentResidentIdCard(req, cb) {
|
67
|
-
return this.request("RecognizeForeignPermanentResidentIdCard", req, cb);
|
68
|
-
}
|
69
|
-
async MainlandPermitOCR(req, cb) {
|
70
|
-
return this.request("MainlandPermitOCR", req, cb);
|
71
|
-
}
|
72
|
-
async GeneralBasicOCR(req, cb) {
|
73
|
-
return this.request("GeneralBasicOCR", req, cb);
|
74
|
-
}
|
75
|
-
async RecognizeThaiIDCardOCR(req, cb) {
|
76
|
-
return this.request("RecognizeThaiIDCardOCR", req, cb);
|
77
|
-
}
|
78
|
-
async RecognizeGeneralInvoice(req, cb) {
|
79
|
-
return this.request("RecognizeGeneralInvoice", req, cb);
|
80
|
-
}
|
81
|
-
async InsuranceBillOCR(req, cb) {
|
82
|
-
return this.request("InsuranceBillOCR", req, cb);
|
105
|
+
async InvoiceGeneralOCR(req, cb) {
|
106
|
+
return this.request("InvoiceGeneralOCR", req, cb);
|
83
107
|
}
|
84
|
-
async
|
85
|
-
return this.request("
|
108
|
+
async RecognizeMedicalInvoiceOCR(req, cb) {
|
109
|
+
return this.request("RecognizeMedicalInvoiceOCR", req, cb);
|
86
110
|
}
|
87
|
-
async
|
88
|
-
return this.request("
|
111
|
+
async GetOCRResult(req, cb) {
|
112
|
+
return this.request("GetOCRResult", req, cb);
|
89
113
|
}
|
90
|
-
async
|
91
|
-
return this.request("
|
114
|
+
async HKIDCardOCR(req, cb) {
|
115
|
+
return this.request("HKIDCardOCR", req, cb);
|
92
116
|
}
|
93
|
-
async
|
94
|
-
return this.request("
|
117
|
+
async RecognizeTableOCR(req, cb) {
|
118
|
+
return this.request("RecognizeTableOCR", req, cb);
|
95
119
|
}
|
96
120
|
async RecognizeGeneralCardWarn(req, cb) {
|
97
121
|
return this.request("RecognizeGeneralCardWarn", req, cb);
|
98
122
|
}
|
99
|
-
async
|
100
|
-
return this.request("
|
123
|
+
async DutyPaidProofOCR(req, cb) {
|
124
|
+
return this.request("DutyPaidProofOCR", req, cb);
|
101
125
|
}
|
102
|
-
async
|
103
|
-
return this.request("
|
126
|
+
async GeneralBasicOCR(req, cb) {
|
127
|
+
return this.request("GeneralBasicOCR", req, cb);
|
104
128
|
}
|
105
|
-
async
|
106
|
-
return this.request("
|
129
|
+
async PermitOCR(req, cb) {
|
130
|
+
return this.request("PermitOCR", req, cb);
|
107
131
|
}
|
108
|
-
async
|
109
|
-
return this.request("
|
132
|
+
async OrgCodeCertOCR(req, cb) {
|
133
|
+
return this.request("OrgCodeCertOCR", req, cb);
|
110
134
|
}
|
111
|
-
async
|
112
|
-
return this.request("
|
135
|
+
async TextDetect(req, cb) {
|
136
|
+
return this.request("TextDetect", req, cb);
|
113
137
|
}
|
114
|
-
async
|
115
|
-
return this.request("
|
138
|
+
async FinanBillSliceOCR(req, cb) {
|
139
|
+
return this.request("FinanBillSliceOCR", req, cb);
|
116
140
|
}
|
117
|
-
async
|
118
|
-
return this.request("
|
141
|
+
async BusInvoiceOCR(req, cb) {
|
142
|
+
return this.request("BusInvoiceOCR", req, cb);
|
119
143
|
}
|
120
|
-
async
|
121
|
-
return this.request("
|
144
|
+
async TableOCR(req, cb) {
|
145
|
+
return this.request("TableOCR", req, cb);
|
122
146
|
}
|
123
|
-
async
|
124
|
-
return this.request("
|
147
|
+
async VatInvoiceOCR(req, cb) {
|
148
|
+
return this.request("VatInvoiceOCR", req, cb);
|
125
149
|
}
|
126
|
-
async
|
127
|
-
return this.request("
|
150
|
+
async RecognizeForeignPermanentResidentIdCard(req, cb) {
|
151
|
+
return this.request("RecognizeForeignPermanentResidentIdCard", req, cb);
|
128
152
|
}
|
129
|
-
async
|
130
|
-
return this.request("
|
153
|
+
async RideHailingDriverLicenseOCR(req, cb) {
|
154
|
+
return this.request("RideHailingDriverLicenseOCR", req, cb);
|
131
155
|
}
|
132
|
-
async
|
133
|
-
return this.request("
|
156
|
+
async HmtResidentPermitOCR(req, cb) {
|
157
|
+
return this.request("HmtResidentPermitOCR", req, cb);
|
134
158
|
}
|
135
159
|
async RecognizeGeneralTextImageWarn(req, cb) {
|
136
160
|
return this.request("RecognizeGeneralTextImageWarn", req, cb);
|
137
161
|
}
|
138
|
-
async
|
139
|
-
return this.request("
|
140
|
-
}
|
141
|
-
async SmartStructuralOCRV2(req, cb) {
|
142
|
-
return this.request("SmartStructuralOCRV2", req, cb);
|
143
|
-
}
|
144
|
-
async RecognizeTableAccurateOCR(req, cb) {
|
145
|
-
return this.request("RecognizeTableAccurateOCR", req, cb);
|
146
|
-
}
|
147
|
-
async MixedInvoiceDetect(req, cb) {
|
148
|
-
return this.request("MixedInvoiceDetect", req, cb);
|
149
|
-
}
|
150
|
-
async VatRollInvoiceOCR(req, cb) {
|
151
|
-
return this.request("VatRollInvoiceOCR", req, cb);
|
152
|
-
}
|
153
|
-
async QuotaInvoiceOCR(req, cb) {
|
154
|
-
return this.request("QuotaInvoiceOCR", req, cb);
|
155
|
-
}
|
156
|
-
async GeneralHandwritingOCR(req, cb) {
|
157
|
-
return this.request("GeneralHandwritingOCR", req, cb);
|
158
|
-
}
|
159
|
-
async RecognizeOnlineTaxiItineraryOCR(req, cb) {
|
160
|
-
return this.request("RecognizeOnlineTaxiItineraryOCR", req, cb);
|
161
|
-
}
|
162
|
-
async RecognizeTableOCR(req, cb) {
|
163
|
-
return this.request("RecognizeTableOCR", req, cb);
|
162
|
+
async SmartStructuralOCR(req, cb) {
|
163
|
+
return this.request("SmartStructuralOCR", req, cb);
|
164
164
|
}
|
165
|
-
async
|
166
|
-
return this.request("
|
165
|
+
async ArithmeticOCR(req, cb) {
|
166
|
+
return this.request("ArithmeticOCR", req, cb);
|
167
167
|
}
|
168
|
-
async
|
169
|
-
return this.request("
|
168
|
+
async LicensePlateOCR(req, cb) {
|
169
|
+
return this.request("LicensePlateOCR", req, cb);
|
170
170
|
}
|
171
|
-
async
|
172
|
-
return this.request("
|
171
|
+
async EstateCertOCR(req, cb) {
|
172
|
+
return this.request("EstateCertOCR", req, cb);
|
173
173
|
}
|
174
174
|
async ClassifyDetectOCR(req, cb) {
|
175
175
|
return this.request("ClassifyDetectOCR", req, cb);
|
@@ -180,85 +180,82 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
180
180
|
async SealOCR(req, cb) {
|
181
181
|
return this.request("SealOCR", req, cb);
|
182
182
|
}
|
183
|
+
async ClassifyStoreName(req, cb) {
|
184
|
+
return this.request("ClassifyStoreName", req, cb);
|
185
|
+
}
|
183
186
|
async BankSlipOCR(req, cb) {
|
184
187
|
return this.request("BankSlipOCR", req, cb);
|
185
188
|
}
|
189
|
+
async GeneralEfficientOCR(req, cb) {
|
190
|
+
return this.request("GeneralEfficientOCR", req, cb);
|
191
|
+
}
|
192
|
+
async AdvertiseOCR(req, cb) {
|
193
|
+
return this.request("AdvertiseOCR", req, cb);
|
194
|
+
}
|
195
|
+
async TrainTicketOCR(req, cb) {
|
196
|
+
return this.request("TrainTicketOCR", req, cb);
|
197
|
+
}
|
186
198
|
async ResidenceBookletOCR(req, cb) {
|
187
199
|
return this.request("ResidenceBookletOCR", req, cb);
|
188
200
|
}
|
189
201
|
async RecognizeTravelCardOCR(req, cb) {
|
190
202
|
return this.request("RecognizeTravelCardOCR", req, cb);
|
191
203
|
}
|
192
|
-
async
|
193
|
-
return this.request("
|
194
|
-
}
|
195
|
-
async DriverLicenseOCR(req, cb) {
|
196
|
-
return this.request("DriverLicenseOCR", req, cb);
|
197
|
-
}
|
198
|
-
async FinanBillOCR(req, cb) {
|
199
|
-
return this.request("FinanBillOCR", req, cb);
|
200
|
-
}
|
201
|
-
async SmartStructuralPro(req, cb) {
|
202
|
-
return this.request("SmartStructuralPro", req, cb);
|
203
|
-
}
|
204
|
-
async RecognizeHealthCodeOCR(req, cb) {
|
205
|
-
return this.request("RecognizeHealthCodeOCR", req, cb);
|
206
|
-
}
|
207
|
-
async ImageEnhancement(req, cb) {
|
208
|
-
return this.request("ImageEnhancement", req, cb);
|
204
|
+
async InstitutionOCR(req, cb) {
|
205
|
+
return this.request("InstitutionOCR", req, cb);
|
209
206
|
}
|
210
|
-
async
|
211
|
-
return this.request("
|
207
|
+
async EnglishOCR(req, cb) {
|
208
|
+
return this.request("EnglishOCR", req, cb);
|
212
209
|
}
|
213
|
-
async
|
214
|
-
return this.request("
|
210
|
+
async RecognizeValidIDCardOCR(req, cb) {
|
211
|
+
return this.request("RecognizeValidIDCardOCR", req, cb);
|
215
212
|
}
|
216
|
-
async
|
217
|
-
return this.request("
|
213
|
+
async BankCardOCR(req, cb) {
|
214
|
+
return this.request("BankCardOCR", req, cb);
|
218
215
|
}
|
219
|
-
async
|
220
|
-
return this.request("
|
216
|
+
async CarInvoiceOCR(req, cb) {
|
217
|
+
return this.request("CarInvoiceOCR", req, cb);
|
221
218
|
}
|
222
|
-
async
|
223
|
-
return this.request("
|
219
|
+
async DriverLicenseOCR(req, cb) {
|
220
|
+
return this.request("DriverLicenseOCR", req, cb);
|
224
221
|
}
|
225
|
-
async
|
226
|
-
return this.request("
|
222
|
+
async MainlandPermitOCR(req, cb) {
|
223
|
+
return this.request("MainlandPermitOCR", req, cb);
|
227
224
|
}
|
228
|
-
async
|
229
|
-
return this.request("
|
225
|
+
async FormulaOCR(req, cb) {
|
226
|
+
return this.request("FormulaOCR", req, cb);
|
230
227
|
}
|
231
|
-
async
|
232
|
-
return this.request("
|
228
|
+
async PassportOCR(req, cb) {
|
229
|
+
return this.request("PassportOCR", req, cb);
|
233
230
|
}
|
234
|
-
async
|
235
|
-
return this.request("
|
231
|
+
async FinanBillOCR(req, cb) {
|
232
|
+
return this.request("FinanBillOCR", req, cb);
|
236
233
|
}
|
237
|
-
async
|
238
|
-
return this.request("
|
234
|
+
async GetOCRToken(req, cb) {
|
235
|
+
return this.request("GetOCRToken", req, cb);
|
239
236
|
}
|
240
|
-
async
|
241
|
-
return this.request("
|
237
|
+
async VerifyOfdVatInvoiceOCR(req, cb) {
|
238
|
+
return this.request("VerifyOfdVatInvoiceOCR", req, cb);
|
242
239
|
}
|
243
|
-
async
|
244
|
-
return this.request("
|
240
|
+
async MixedInvoiceOCR(req, cb) {
|
241
|
+
return this.request("MixedInvoiceOCR", req, cb);
|
245
242
|
}
|
246
|
-
async
|
247
|
-
return this.request("
|
243
|
+
async RecognizeHealthCodeOCR(req, cb) {
|
244
|
+
return this.request("RecognizeHealthCodeOCR", req, cb);
|
248
245
|
}
|
249
|
-
async
|
250
|
-
return this.request("
|
246
|
+
async EduPaperOCR(req, cb) {
|
247
|
+
return this.request("EduPaperOCR", req, cb);
|
251
248
|
}
|
252
|
-
async
|
253
|
-
return this.request("
|
249
|
+
async RideHailingTransportLicenseOCR(req, cb) {
|
250
|
+
return this.request("RideHailingTransportLicenseOCR", req, cb);
|
254
251
|
}
|
255
|
-
async
|
256
|
-
return this.request("
|
252
|
+
async RecognizeThaiIDCardOCR(req, cb) {
|
253
|
+
return this.request("RecognizeThaiIDCardOCR", req, cb);
|
257
254
|
}
|
258
|
-
async
|
259
|
-
return this.request("
|
255
|
+
async RecognizeGeneralInvoice(req, cb) {
|
256
|
+
return this.request("RecognizeGeneralInvoice", req, cb);
|
260
257
|
}
|
261
|
-
async
|
262
|
-
return this.request("
|
258
|
+
async VehicleLicenseOCR(req, cb) {
|
259
|
+
return this.request("VehicleLicenseOCR", req, cb);
|
263
260
|
}
|
264
261
|
}
|