dsc__ShowImageWatermarkByAddress
Extract embedded text blind watermarks from images stored in Huawei Cloud OBS by specifying the object address, with optional watermark length for improved extraction performance.
Instructions
[DSC] 对指定存储地址信息(目前支持华为云OBS)的已嵌入文字暗水印的图片提取文字暗水印,支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"region_id": "<region_id>",
"src_file": "<src_file>"
},
"name": "dsc__ShowImageWatermarkByAddress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mark_len | No | 指定待提取水印的长度,最小0,最大32.。设置后可以提升水印提取性能。 | |
| src_file | Yes | 待提取文字暗水印的图片地址,当前只支持华为云OBS,格式为 **obs://bucket/object** ,其中bucket为和当前项目处于同一区域的OBS桶名称,object为对象全路径名。例如:**obs://hwbucket/hwinfo/hw.png**,其中obs://表示OBS存储,hwbucket为桶名,hwinfo/hw.png为对象全路径名。 | |
| region_id | Yes | 项目所在region的id,如:xx-xx-1。 | |
| project_id | Yes | 项目ID |