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