tencentcloud-sdk-nodejs-ocr 4.1.261 → 4.1.263
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.
package/package.json
CHANGED
|
@@ -645,7 +645,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
645
645
|
*/
|
|
646
646
|
SubmitExtractDocAgentJob(req: SubmitExtractDocAgentJobRequest, cb?: (error: string, rep: SubmitExtractDocAgentJobResponse) => void): Promise<SubmitExtractDocAgentJobResponse>;
|
|
647
647
|
/**
|
|
648
|
-
*
|
|
648
|
+
* 接口下线
|
|
649
|
+
|
|
650
|
+
本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
|
649
651
|
|
|
650
652
|
默认接口请求频率限制:5次/秒。
|
|
651
653
|
*/
|
|
@@ -968,7 +970,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
968
970
|
*/
|
|
969
971
|
RecognizeGeneralInvoice(req: RecognizeGeneralInvoiceRequest, cb?: (error: string, rep: RecognizeGeneralInvoiceResponse) => void): Promise<RecognizeGeneralInvoiceResponse>;
|
|
970
972
|
/**
|
|
971
|
-
*
|
|
973
|
+
* 接口下线
|
|
974
|
+
|
|
975
|
+
公式识别是教育的基础OCR识别能力,可支持理科(数学、物理、化学、生物)的印刷体和手写体的公式识别。
|
|
972
976
|
|
|
973
977
|
默认接口请求频率限制:2次/秒。
|
|
974
978
|
*/
|
|
@@ -803,7 +803,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
803
803
|
return this.request("SubmitExtractDocAgentJob", req, cb);
|
|
804
804
|
}
|
|
805
805
|
/**
|
|
806
|
-
*
|
|
806
|
+
* 接口下线
|
|
807
|
+
|
|
808
|
+
本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
|
807
809
|
|
|
808
810
|
默认接口请求频率限制:5次/秒。
|
|
809
811
|
*/
|
|
@@ -1148,7 +1150,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1148
1150
|
return this.request("RecognizeGeneralInvoice", req, cb);
|
|
1149
1151
|
}
|
|
1150
1152
|
/**
|
|
1151
|
-
*
|
|
1153
|
+
* 接口下线
|
|
1154
|
+
|
|
1155
|
+
公式识别是教育的基础OCR识别能力,可支持理科(数学、物理、化学、生物)的印刷体和手写体的公式识别。
|
|
1152
1156
|
|
|
1153
1157
|
默认接口请求频率限制:2次/秒。
|
|
1154
1158
|
*/
|
|
@@ -1446,7 +1446,7 @@ export interface IDCardOCRResponse {
|
|
|
1446
1446
|
*/
|
|
1447
1447
|
ValidDate?: string;
|
|
1448
1448
|
/**
|
|
1449
|
-
* <p>扩展信息,不请求则不返回,具体输入参考示例3和示例4。<br>IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;<br>Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;<br>Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);<br>BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);<br>WarnInfos,告警信息,Code 告警码列表和释义:<br>-9109 身份证有效日期不合法告警,<br>-9101 身份证边框不完整告警,<br>-9102 身份证复印件告警(黑白及彩色复印件),<br>-9108 身份证复印件告警(仅黑白复印件),<br>-9103 身份证翻拍告警,<br>-9105 身份证框内遮挡告警,<br>-9104 临时身份证告警,<br>-9106 身份证疑似存在PS痕迹告警,<br>-9107 身份证反光告警,<br>-9110
|
|
1449
|
+
* <p>扩展信息,不请求则不返回,具体输入参考示例3和示例4。<br>IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;<br>Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;<br>Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);<br>BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);<br>WarnInfos,告警信息,Code 告警码列表和释义:<br>-9109 身份证有效日期不合法告警,<br>-9101 身份证边框不完整告警,<br>-9102 身份证复印件告警(黑白及彩色复印件),<br>-9108 身份证复印件告警(仅黑白复印件),<br>-9103 身份证翻拍告警,<br>-9105 身份证框内遮挡告警,<br>-9104 临时身份证告警,<br>-9106 身份证疑似存在PS痕迹告警,<br>-9107 身份证反光告警,<br>-9110 电子身份证告警(仅CardWarnType参数为Advanced时),<br>-9111 水印告警</p>
|
|
1450
1450
|
*/
|
|
1451
1451
|
AdvancedInfo?: string;
|
|
1452
1452
|
/**
|
|
@@ -10460,7 +10460,7 @@ export interface IDCardOCRRequest {
|
|
|
10460
10460
|
*/
|
|
10461
10461
|
EnableDateVerify?: boolean;
|
|
10462
10462
|
/**
|
|
10463
|
-
* <p>Basic
|
|
10463
|
+
* <p>告警类型</p><p>枚举值:</p><ul><li>Basic: 使用基础卡证告警能力(含基础PS告警)</li><li>Advanced: 开启进阶PS告警能力,PS告警效果更佳但需要更长耗时</li></ul><p>默认值:Basic</p>
|
|
10464
10464
|
*/
|
|
10465
10465
|
CardWarnType?: string;
|
|
10466
10466
|
}
|