tencentcloud-sdk-nodejs-ocr 4.1.329 → 4.1.331
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
|
@@ -729,6 +729,18 @@ export interface VerifyGeneralCardWarnRequest {
|
|
|
729
729
|
* <p>图片的 Base64 值。要求图片经Base64编码后不超过 10M。</p>
|
|
730
730
|
*/
|
|
731
731
|
ImageBase64?: string;
|
|
732
|
+
/**
|
|
733
|
+
* <p>推理 Prompt 模板,默认使用 VLM 对图片进行理解推理,同时支持使用 ${变量名} 进行推理。传入该参数即开启推理流程。</p><p>入参限制:长度限制:1–3000 字符</p>
|
|
734
|
+
*/
|
|
735
|
+
ReasoningPrompt?: string;
|
|
736
|
+
/**
|
|
737
|
+
* <p>推理输出配置。当 ReasoningPrompt 传入时建议同步传入,未传入时使用默认配置(OutputMode=enum, EnumValues=["true","false"], EnableImageInput=true)。</p>
|
|
738
|
+
*/
|
|
739
|
+
ReasoningConfig?: ReasoningConfig;
|
|
740
|
+
/**
|
|
741
|
+
* <p>水印提示排除类型,选择出参“水印提示”排除掉的水印类型,不传的话即代表任意水印都会提示。 PhoneCam:手机相机水印 WatermarkCam:水印相机水印</p>
|
|
742
|
+
*/
|
|
743
|
+
IgnoreWatermarkCategories?: Array<string>;
|
|
732
744
|
}
|
|
733
745
|
/**
|
|
734
746
|
* MLIDPassportOCR请求参数结构体
|
|
@@ -4239,6 +4251,14 @@ export interface VerifyGeneralCardWarnResponse {
|
|
|
4239
4251
|
* <p>水印内容,当未检测到文字水印时不返回,返回多组水印时以 | 分隔。</p>
|
|
4240
4252
|
*/
|
|
4241
4253
|
WatermarkContent?: string;
|
|
4254
|
+
/**
|
|
4255
|
+
* <p>VLM 推理结果。仅当请求中传入 ReasoningPrompt 时返回,否则不返回此字段。</p>
|
|
4256
|
+
*/
|
|
4257
|
+
ReasoningResult?: ReasoningResult;
|
|
4258
|
+
/**
|
|
4259
|
+
* <p>是否关键字段被篡改(用于排除卡证背景等非字段区域篡改),目前支持的卡证类型:行驶证、驾驶证。<br>枚举值:<br>是<br>否<br>暂不支持</p>
|
|
4260
|
+
*/
|
|
4261
|
+
IsKeyFieldTamper?: string;
|
|
4242
4262
|
/**
|
|
4243
4263
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4244
4264
|
*/
|