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